setup: correction for file/kb counting
Change-Id: I74cadcf681fdda105a85535a208251b09981e383
This commit is contained in:
parent
4a70ffda08
commit
f24634cf13
@ -21,8 +21,8 @@ USRFILES="`find -x /usr | wc -l`"
|
|||||||
# /usr/install isn't copied onto the new system; compensate
|
# /usr/install isn't copied onto the new system; compensate
|
||||||
INSTALLDIR=/usr/install
|
INSTALLDIR=/usr/install
|
||||||
if [ -d $INSTALLDIR ]
|
if [ -d $INSTALLDIR ]
|
||||||
then $USRFILES=$(($USRFILES - `find -x $INSTALLDIR | wc -l`))
|
then USRFILES=$(($USRFILES - `find -x $INSTALLDIR | wc -l`))
|
||||||
$USRKB=$(($USRKB - `du -sxk $INSTALLDIR | awk '{ print $1 }'`))
|
USRKB=$(($USRKB - `du -sxk $INSTALLDIR | awk '{ print $1 }'`))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$FSTYPE" ]
|
if [ -z "$FSTYPE" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user