summaryrefslogtreecommitdiff
path: root/app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch')
-rw-r--r--app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch b/app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch
new file mode 100644
index 000000000000..df80a7f9c8a6
--- /dev/null
+++ b/app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch
@@ -0,0 +1,11 @@
+--- localepurge.original 2012-12-02 18:32:35.000000000 +0400
++++ localepurge 2013-01-14 19:31:35.327821252 +0400
+@@ -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