From: Ben Gras Date: Mon, 18 Nov 2013 10:25:30 +0000 (+0000) Subject: setup: correction for file/kb counting X-Git-Tag: v3.3.0~684 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/index.css?a=commitdiff_plain;h=f24634cf13536c2f017255d142a70cccf6ad851e;p=minix.git setup: correction for file/kb counting Change-Id: I74cadcf681fdda105a85535a208251b09981e383 --- diff --git a/commands/setup/setup.sh b/commands/setup/setup.sh index fe9cf5fca..918e228f8 100644 --- a/commands/setup/setup.sh +++ b/commands/setup/setup.sh @@ -21,8 +21,8 @@ USRFILES="`find -x /usr | wc -l`" # /usr/install isn't copied onto the new system; compensate INSTALLDIR=/usr/install if [ -d $INSTALLDIR ] -then $USRFILES=$(($USRFILES - `find -x $INSTALLDIR | wc -l`)) - $USRKB=$(($USRKB - `du -sxk $INSTALLDIR | awk '{ print $1 }'`)) +then USRFILES=$(($USRFILES - `find -x $INSTALLDIR | wc -l`)) + USRKB=$(($USRKB - `du -sxk $INSTALLDIR | awk '{ print $1 }'`)) fi if [ -z "$FSTYPE" ]