Invert the -e test

This commit is contained in:
Steve McIntyre 2007-08-11 23:23:25 +00:00
parent e53fc89e17
commit 2996bf0a1e
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ else
wget "$DI_WWW_HOME/initrd.gz" -O ./$DI_DIR/initrd.gz
fi
if [ -e "$DI_DIR"/initrd.gz ] ; then
if [ ! -e "$DI_DIR"/initrd.gz ] ; then
DI_DIR="$DI_DIR"/2.6
fi
cp "$DI_DIR"/initrd.gz "$inst/boot/initrd.gz"