21 lines
726 B
Diff
21 lines
726 B
Diff
|
--- a/localepurge
|
||
|
+++ b/localepurge
|
||
|
@@ -198,7 +198,7 @@
|
||
|
|
||
|
if [ "$SHOWFREEDSPACE" = "enabled" ]; then
|
||
|
if test $SPACETMP -gt 0 ; then
|
||
|
- LOCALETOTAL=$SPACETMP
|
||
|
+ LOCALETOTAL=$(($LOCALETOTAL + $SPACETMP))
|
||
|
einfo "localepurge: Disk space freed in $LOCALEDIR: ${BOLD}"$SPACETMP"K${NORMAL}"
|
||
|
fi
|
||
|
SPACETMP=0
|
||
|
@@ -230,7 +230,7 @@
|
||
|
|
||
|
if [ "$SHOWFREEDSPACE" = "enabled" ]; then
|
||
|
if test $SPACETMP -gt 0 ; then
|
||
|
- MANTOTAL=$SPACETMP
|
||
|
+ MANTOTAL=$(($MANTOTAL + $SPACETMP))
|
||
|
einfo "localepurge: Disk space freed in $MANPAGEDIR: ${BOLD}"$SPACETMP"K${NORMAL}"
|
||
|
fi
|
||
|
SPACETMP=0
|