wok rev 12354
syslinux: fix kbd check
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 19 22:41:14 2012 +0200 (2012-04-19) |
parents | 34720ca57001 |
children | 339eefbdf5f2 |
files | syslinux/receipt |
line diff
1.1 --- a/syslinux/receipt Thu Apr 19 22:01:09 2012 +0200 1.2 +++ b/syslinux/receipt Thu Apr 19 22:41:14 2012 +0200 1.3 @@ -90,9 +90,9 @@ 1.4 EOT 1.5 sed -i 's/^LABEL us$/&\n MENU DEFAULT/' $fs/boot/isolinux/i18n.cfg 1.6 for kbd in $(cd $src ; ls *.kbd); do 1.7 - [ -s $kbd.kbd ] || echo "Invalid file $kbd.kbd" 1.8 - grep -q " $kbd.kbd " $fs/boot/isolinux/i18n.cfg && continue 1.9 - echo "Missing: file $kbd.kbd" 1.10 + [ -s $kbd ] || echo "Invalid file $kbd" 1.11 + grep -q " $kbd " $fs/boot/isolinux/i18n.cfg && continue 1.12 + echo "Missing: file $kbd" 1.13 done 1.14 chown root.root $fs/boot/isolinux/* 1.15 }