diff --git a/tools/boot/woody/boot-i386 b/tools/boot/woody/boot-i386 index 1f1c86f5..3a5d5547 100755 --- a/tools/boot/woody/boot-i386 +++ b/tools/boot/woody/boot-i386 @@ -1,3 +1,4 @@ +B #!/bin/bash # # boot-i386 v 1.13 (c) Steve McIntyre @@ -12,15 +13,24 @@ # # $1 is the CD number # $2 is the temporary CD build dir -# CODENAME1 used temporarly to point to potato boot disks -- jwest - +# CODENAME1 used temporarly to point to potato boot disks +# if potato boot disks do not exist 05-JUL-2000 -- jwest set -e N=$1 CDDIR=$2 BOOTDIR= + + # set bootdisks to potato for the moment. -CODENAME1=potato +if [ -f $MIRROR/dists/$CODENAME/main/disks-$ARCH/current/images-2.88/compact/rescue.bin ]; then + echo "Using woody bootdisks" + CODENAME1=$CODENAME +else + echo "Using potato bootdisks" + CODENAME1=potato +fi + cd $CDDIR/..