summaryrefslogtreecommitdiff
path: root/app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch
blob: aed4082833434a35f5c75bfb637da978f43f4b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/localepurge
+++ b/localepurge
@@ -254,7 +254,7 @@
 
 # Calculating and reporting total disk space freed:
 if [ "$SHOWFREEDSPACE" = "enabled" ]; then
-    let TOTAL=$LOCALETOTAL+$MANTOTAL
+    TOTAL=$(($LOCALETOTAL+$MANTOTAL))
     if test $TOTAL -lt 0; then
         TOTAL=0
     fi