diff --git a/tools/boot/lenny/boot-x86 b/tools/boot/lenny/boot-x86 index 238c15ea..28af86e6 100644 --- a/tools/boot/lenny/boot-x86 +++ b/tools/boot/lenny/boot-x86 @@ -186,7 +186,9 @@ if [ "$THISTYPE" = "isolinux" ]; then sed -i "s|/install/|/$INSTALLDIR/|" boot$N/$ISOLINUXDIR/isolinux.cfg - sed -i "s|install/|$INSTALLDIR/|" boot$N/win32-loader.ini + if [ -e boot$N/win32-loader.ini ] ; then + sed -i "s|install/|$INSTALLDIR/|" boot$N/win32-loader.ini + fi cp -f $BASEDIR/data/$DI_CODENAME/isolinux.bin boot$N/$ISOLINUXDIR/