wok-6.x diff syslinux/receipt @ rev 20892
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 09:14:07 2019 +0100 (2019-02-26) |
parents | dcb2debedc03 |
children | 8296cfe551a1 |
line diff
1.1 --- a/syslinux/receipt Sat Jun 09 17:09:08 2018 +0200 1.2 +++ b/syslinux/receipt Tue Feb 26 09:14:07 2019 +0100 1.3 @@ -38,7 +38,7 @@ 1.4 sed -i 's/loadkeys -m/loadkeys -u -m/' utils/keytab-lilo # for ru.kbd 1.5 mkdir kbd 1.6 for i in /usr/share/kbd/keymaps/i386/*/*.map.gz; do 1.7 - [ "$(basename $(dirname $i))" == 'include' ] && continue 1.8 + [ "$(basename $(dirname $i))" = 'include' ] && continue 1.9 utils/keytab-lilo /usr/share/kbd/keymaps/i386/qwerty/us.map.gz \ 1.10 $i > kbd/$(basename $i .map.gz) 1.11 done 1.12 @@ -67,7 +67,7 @@ 1.13 for i in ${kbd/,/ }; do 1.14 [ -e $src/kbd/$i ] || continue 1.15 map=" $i" 1.16 - [ ${kbd#*,} == $i ] && map= 1.17 + [ ${kbd#*,} = $i ] && map= 1.18 cat >> $fs/boot/isolinux/i18n.cfg <<EOT 1.19 LABEL $label 1.20 MENU LABEL $menu 1.21 @@ -150,7 +150,7 @@ 1.22 for i in $(grep -ls boot/isolinux/isolinux.cfg \ 1.23 $1/var/lib/tazpkg/installed/*/receipt); do 1.24 pkg=$(basename ${i%/*}) 1.25 - [ "$pkg" == "$PACKAGE" ] || 1.26 + [ "$pkg" = "$PACKAGE" ] || 1.27 root=/ chroot "$1/" tazpkg reconfigure $pkg 1.28 done 1.29 }