summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Muskee <wimmuskee@gmail.com>2012-12-04 22:11:11 +0100
committerWim Muskee <wimmuskee@gmail.com>2012-12-04 22:11:11 +0100
commit93d990e924c9f514da4dd4e00b131060924538f6 (patch)
treec71551afd5a03dd2a4718c4a64c824e1e2c29228 /localepurge
parentErr, forgot to add the sum for each directory. (diff)
downloadlocalepurge-93d990e924c9f514da4dd4e00b131060924538f6.tar.gz
localepurge-93d990e924c9f514da4dd4e00b131060924538f6.tar.bz2
localepurge-93d990e924c9f514da4dd4e00b131060924538f6.zip
Make rm only use verbose option when verbose is selected.
Diffstat (limited to 'localepurge')
-rwxr-xr-xlocalepurge3
1 files changed, 2 insertions, 1 deletions
diff --git a/localepurge b/localepurge
index e2e5ee4..e2279ed 100755
--- a/localepurge
+++ b/localepurge
@@ -23,7 +23,7 @@ HILITE=$'\e[36;01m'
BRACKET=$'\e[34;01m'
BOLD=$'\e[1m'
-ACTION="/bin/rm -vf"
+ACTION="/bin/rm -f"
eerror () {
echo -e " ${BAD}*${NORMAL} $*" 2> /dev/stderr
@@ -110,6 +110,7 @@ for x in $@; do
elif [ "$x" = "-verbose" ] || [ "$x" = "-v" ]; then
VERBOSE=enabled
+ ACTION="/bin/rm -vf"
elif [ "$x" = "-version" ] ; then
version