blob: f837d2845d5439e386e037b3b3ffd67ad87dbe5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- localepurge.orig 2012-12-04 23:15:29.422756767 +0100
+++ localepurge 2012-12-04 23:16:13.313756491 +0100
@@ -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
|