f39393f9ab
- USE_X11BASE -> USE_X11 - new MASTER_SITES - NOBINMODE -> SHAREMODE - sh(1) fixes to e_cache_clean and e_cache_query - better COMMENT From Soren Jacobsen via PR pkg/21666. - DESCR has 80 columns - remove imlib buildlink2 file, it's pulled in by fnlib - ln -> ${LN}, rm -> ${RM} in PLIST, sort
50 lines
1.7 KiB
Text
50 lines
1.7 KiB
Text
$NetBSD: patch-ae,v 1.1 2003/05/25 09:50:53 salo Exp $
|
|
|
|
--- scripts/e_cache_clean.orig Sat May 24 08:35:12 2003
|
|
+++ scripts/e_cache_clean Sat May 24 08:37:42 2003
|
|
@@ -34,33 +34,33 @@
|
|
fi
|
|
|
|
if [ $1 = "all" ]; then
|
|
- rm -rf $ECACHEDIR/cached/bgsel/* >& /dev/null
|
|
- rm -rf $ECACHEDIR/cached/bgsel/.* >& /dev/null
|
|
- rm -rf $ECACHEDIR/cached/cfg/* >& /dev/null
|
|
- rm -rf $ECACHEDIR/cached/cfg/.* >& /dev/null
|
|
- rm -rf $ECACHEDIR/cached/pager/* >& /dev/null
|
|
- rm -rf $ECACHEDIR/cached/pager/.* >& /dev/null
|
|
+ rm -rf $ECACHEDIR/cached/bgsel/* >/dev/null 2>&1
|
|
+ rm -rf $ECACHEDIR/cached/bgsel/.* >/dev/null 2>&1
|
|
+ rm -rf $ECACHEDIR/cached/cfg/* >/dev/null 2>&1
|
|
+ rm -rf $ECACHEDIR/cached/cfg/.* >/dev/null 2>&1
|
|
+ rm -rf $ECACHEDIR/cached/pager/* >/dev/null 2>&1
|
|
+ rm -rf $ECACHEDIR/cached/pager/.* >/dev/null 2>&1
|
|
eesh -e "dialog_ok All caches purged."
|
|
exit
|
|
fi
|
|
|
|
if [ $1 = "pager" ]; then
|
|
- rm -rf $ECACHEDIR/cached/pager/* >& /dev/null
|
|
- rm -rf $ECACHEDIR/cached/pager/.* >& /dev/null
|
|
+ rm -rf $ECACHEDIR/cached/pager/* >/dev/null 2>&1
|
|
+ rm -rf $ECACHEDIR/cached/pager/.* >/dev/null 2>&1
|
|
eesh -e "dialog_ok Pager background cache purged."
|
|
exit
|
|
fi
|
|
|
|
if [ $1 = "config" ]; then
|
|
- rm -rf $ECACHEDIR/cached/cfg/* >& /dev/null
|
|
- rm -rf $ECACHEDIR/cached/cfg/.* >& /dev/null
|
|
+ rm -rf $ECACHEDIR/cached/cfg/* >/dev/null 2>&1
|
|
+ rm -rf $ECACHEDIR/cached/cfg/.* >/dev/null 2>&1
|
|
eesh -e "dialog_ok Config file cache purged."
|
|
exit
|
|
fi
|
|
|
|
if [ $1 = "bgsel" ]; then
|
|
- rm -rf $ECACHEDIR/cached/bgsel/* >& /dev/null
|
|
- rm -rf $ECACHEDIR/cached/bgsel/.* >& /dev/null
|
|
+ rm -rf $ECACHEDIR/cached/bgsel/* >/dev/null 2>&1
|
|
+ rm -rf $ECACHEDIR/cached/bgsel/.* >/dev/null 2>&1
|
|
eesh -e "dialog_ok Background selector cache purged."
|
|
exit
|
|
fi
|