From 37f4ffd8036b707aaa25d29d4d4855c90c8b01da Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Thu, 17 Aug 2000 12:45:57 +0000 Subject: [PATCH] remove tmp dir unconditionally at start --- tools/boot/potato/boot-sparc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/boot/potato/boot-sparc b/tools/boot/potato/boot-sparc index b86fef24..71763f34 100755 --- a/tools/boot/potato/boot-sparc +++ b/tools/boot/potato/boot-sparc @@ -40,9 +40,9 @@ cp -f -p $BASEDIR/tools/boot/potato/sparc-etc/{boot-msg.txt,debian.txt,silo.conf $inst/etc/ tmp=/var/tmp/debian_cd -if [ ! -d $tmp ]; then - mkdir -p $tmp -fi +rm -rf $tmp +mkdir -p $tmp + for suba in sun4cdm sun4u; do ln -s ../../dists/$CODENAME/main/disks-$ARCH/current/$suba/linux-a.out \ $inst/boot/$suba/linux