summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Muskee <wimmuskee@gmail.com>2012-12-02 15:32:20 +0100
committerWim Muskee <wimmuskee@gmail.com>2012-12-02 15:32:20 +0100
commit4778e4c197dd3a5e1c685af79d0ac6fab52e9c14 (patch)
tree29ff896c2c180186c880f003d2b43a08c2dca521 /localepurge
parentimprove calculation of freed space (diff)
downloadlocalepurge-4778e4c197dd3a5e1c685af79d0ac6fab52e9c14.tar.gz
localepurge-4778e4c197dd3a5e1c685af79d0ac6fab52e9c14.tar.bz2
localepurge-4778e4c197dd3a5e1c685af79d0ac6fab52e9c14.zip
replace tabs by spaces
Diffstat (limited to 'localepurge')
-rwxr-xr-xlocalepurge22
1 files changed, 11 insertions, 11 deletions
diff --git a/localepurge b/localepurge
index 67b7ff0..6e1d3e4 100755
--- a/localepurge
+++ b/localepurge
@@ -43,8 +43,8 @@ etab () {
print() {
for x in $@; do
if [ "${x}" = "" ]; then return 0
- else /bin/echo $x
- fi
+ else /bin/echo $x
+ fi
done
}
@@ -98,34 +98,34 @@ for x in $@; do
if [ "$x" = "-help" ] || [ "$x" = "-h" ]; then
ayuda
- exit 0
+ exit 0
elif [ "$x" = "-list" ] || [ "$x" = "-l" ]; then
LIST=enabled
elif [ "$x" = "-pretend" ] || [ "$x" = "-p" ]; then
PRETEND=enabled
- ACTION=print
- SHOWFREEDSPACE=disabled
+ ACTION=print
+ SHOWFREEDSPACE=disabled
elif [ "$x" = "-verbose" ] || [ "$x" = "-v" ]; then
VERBOSE=enabled
elif [ "$x" = "-version" ] ; then
version
- exit 0
+ exit 0
else
eerror "Unrecognised option: ${x}"
- eerror "Please see `basename $0` -help"
- exit 1
+ eerror "Please see `basename $0` -help"
+ exit 1
fi
if [ "${LIST}" = "enabled" ] && [ "${PRETEND}" = "enabled" ]; then
eerror "Cannot have list and pretend mode enabled at the same time"
- eerror "Please enable one at a time"
- echo >> /dev/stderr
- eerror "For more information, see `basename $0` -help"
+ eerror "Please enable one at a time"
+ echo >> /dev/stderr
+ eerror "For more information, see `basename $0` -help"
fi
done