From f24634cf13536c2f017255d142a70cccf6ad851e Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 18 Nov 2013 10:25:30 +0000 Subject: [PATCH] setup: correction for file/kb counting Change-Id: I74cadcf681fdda105a85535a208251b09981e383 --- commands/setup/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" ] -- 2.44.0