Cope with missing boot floppies

This commit is contained in:
Steve McIntyre 2001-12-16 23:18:00 +00:00
parent 07417d6ed1
commit e340669c45
1 changed files with 6 additions and 2 deletions

View File

@ -20,8 +20,12 @@ do
exit 1
fi
echo " ... selecting packages to include"
disks=`du -sm ${MIRROR}/dists/${CODENAME}/main/disks-${ARCH}/current/. | \
awk '{print $1}'`
if [ -e ${MIRROR}/dists/${CODENAME}/main/disks-${ARCH}/current/. ] ; then
disks=`du -sm ${MIRROR}/dists/${CODENAME}/main/disks-${ARCH}/current/. | \
awk '{print $1}'`
else
disks=0
fi
if [ -f $BASEDIR/tools/boot/$CODENAME/boot-$ARCH.calc ]; then
. $BASEDIR/tools/boot/$CODENAME/boot-$ARCH.calc
fi