diff options
author | Matt Wilson <msw@redhat.com> | 2000-12-27 21:34:05 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-12-27 21:34:05 +0000 |
commit | 88ff28f6256d6a5c18ccc4c9fe69729dc5bdcb40 (patch) | |
tree | 5c4fb39ef5518bff50a076850257f1c1d841db61 /scripts/mk-images.i386 | |
parent | a83b98978164b6810e5136618d104729273fa267 (diff) | |
download | anaconda-88ff28f6256d6a5c18ccc4c9fe69729dc5bdcb40.tar.gz anaconda-88ff28f6256d6a5c18ccc4c9fe69729dc5bdcb40.tar.xz anaconda-88ff28f6256d6a5c18ccc4c9fe69729dc5bdcb40.zip |
oops, fix japanese munge
Diffstat (limited to 'scripts/mk-images.i386')
-rw-r--r-- | scripts/mk-images.i386 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386 index 6901e0093..601d8f72f 100644 --- a/scripts/mk-images.i386 +++ b/scripts/mk-images.i386 @@ -16,10 +16,12 @@ prepareBootImage() { cp $MBD_FSIMAGE $MBD_BOOTTREE/initrd.img cp $KERNELROOT/boot/vmlinuz-* $MBD_BOOTTREE/vmlinuz if [ -d $BOOTDISKDIR/$BOOTLANG ]; then - if [ $BOOTLANG = "ja_JP" ]; then - EXTRA='-e "s/ vga=.*//"' + # fb console and kon don't get along... + if [ "$BOOTLANG" = "ja_JP" ]; then + sed -e "s/ vga=.*//g" < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cfg- + mv -f $MBD_BOOTTREE/syslinux.cfg- $MBD_BOOTTREE/syslinux.cfg fi - sed -e "s/initrd.img/initrd.img lang=$BOOTLANG/g" $EXTRA < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cfg- + sed -e "s/initrd.img/initrd.img lang=$BOOTLANG/g" < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cfg- mv -f $MBD_BOOTTREE/syslinux.cfg- $MBD_BOOTTREE/syslinux.cfg cp $BOOTDISKDIR/$BOOTLANG/*.msg $MBD_BOOTTREE if [ $? != 0 ]; then |