From: Ben Gras Date: Thu, 13 Apr 2006 01:59:43 +0000 (+0000) Subject: 2nd is sum. X-Git-Tag: v3.1.2a~18 X-Git-Url: http://zhaoyanbai.com/repos/man.arpaname.html?a=commitdiff_plain;h=d8af4488d91b0d9fde9d285bb3ee634940a18085;p=minix.git 2nd is sum. --- 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