From d8af4488d91b0d9fde9d285bb3ee634940a18085 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 13 Apr 2006 01:59:43 +0000 Subject: [PATCH] 2nd is sum. --- commands/scripts/packman.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/commands/scripts/packman.sh b/commands/scripts/packman.sh index f2c6bdca5..722e27bae 100644 --- a/commands/scripts/packman.sh +++ b/commands/scripts/packman.sh @@ -67,8 +67,10 @@ else cont=y else sourcesize="" fi binf=$CDPACK/SizeMB - if [ -f $binf ] - then binsize=" (`cat $binf` MB uncompressed)" + if [ -f $binf -a -f $sourcef ] + then sourcemb="`cat $sourcef`" + binmb="`cat $binf`" + binsize=" (`expr $sourcemb + $binmb` MB uncompressed)" else binsize="" fi -- 2.44.0