summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/mk-images.i38631
1 files changed, 9 insertions, 22 deletions
diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386
index edb92b502..b4488f5c3 100644
--- a/scripts/mk-images.i386
+++ b/scripts/mk-images.i386
@@ -25,28 +25,15 @@ prepareBootTree() {
pngtopnm $BOOTDISKDIR/syslinux-splash.png | ppmtolss16 \#000000=0 \#cdcfd5=7 \#c90000=2 \#ffffff=15 \#5b6c93=9 > $BOOTDISKDIR/splash.lss
cp $BOOTDISKDIR/splash.lss $MBD_BOOTTREE/splash.lss
rm -f $MBD_BOOTTREE/syslinux-splash.png
- if [ -d $BOOTDISKDIR/$BOOTLANG ]; then
- for file in $BOOTDISKDIR/$BOOTLANG/*.msg; do
- filename=`basename $file`
- sed -e "s/@VERSION@/$VERSION/g" $file > $MBD_BOOTTREE/$filename
- done
- if [ $? != 0 ]; then
- echo $0: Failed to copy messages from $BOOTDISKDIR/$BOOTLANG to $MBD_BOOTTREE.
- umount $MBD_BOOTTREE
- rm -rf $MBD_BOOTTREE $MBD_TMPIMAGE
- exit 1
- fi
- else
- for file in $BOOTDISKDIR/*.msg; do
- filename=`basename $file`
- sed -e "s/@VERSION@/$VERSION/g" $file > $MBD_BOOTTREE/$filename
- done
- if [ $? != 0 ]; then
- echo $0: Failed to copy messages from $BOOTDISKDIR to $MBD_BOOTTREE.
- umount $MBD_BOOTTREE
- rm -rf $MBD_BOOTTREE $MBD_TMPIMAGE
- exit 1
- fi
+ for file in $BOOTDISKDIR/*.msg; do
+ filename=`basename $file`
+ sed -e "s/@VERSION@/$VERSION/g" $file > $MBD_BOOTTREE/$filename
+ done
+ if [ $? != 0 ]; then
+ echo $0: Failed to copy messages from $BOOTDISKDIR to $MBD_BOOTTREE.
+ umount $MBD_BOOTTREE
+ rm -rf $MBD_BOOTTREE $MBD_TMPIMAGE
+ exit 1
fi
}