wok-tiny diff keyboard/receipt @ rev 142

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 27 17:43:23 2019 +0100 (2019-02-27)
parents 1a6a79b48e76
children 1e55ea7da8de
line diff
     1.1 --- a/keyboard/receipt	Sat Sep 23 08:36:42 2017 +0200
     1.2 +++ b/keyboard/receipt	Wed Feb 27 17:43:23 2019 +0100
     1.3 @@ -142,7 +142,7 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	if [ "$USECMDLINE" == "yes" ]; then
     1.8 +	if [ "$USECMDLINE" = "yes" ]; then
     1.9  		mkdir $1/bin
    1.10  		cat > $1/bin/loadkmap <<EOT
    1.11  #!/bin/sh
    1.12 @@ -170,18 +170,18 @@
    1.13  		rm -f $1/usr/share/data.cpio.gz
    1.14  	fi
    1.15  	for i in $1/usr/share/i18n/locales/* ; do
    1.16 -		[ $i == $1/usr/share/i18n/locales/$LOCALE ] || rm $i
    1.17 +		[ $i = $1/usr/share/i18n/locales/$LOCALE ] || rm $i
    1.18  	done
    1.19  	[ -n "$LOCALE" ] && cat > $1/etc/locale.conf <<EOT
    1.20  LANG=$LOCALE
    1.21  LC_ALL=$LOCALE
    1.22  EOT
    1.23  	find $1/usr/share/zoneinfo -type f | while read i; do
    1.24 -		[ $i == $1/usr/share/zoneinfo/$TIMEZONE ] || rm $i
    1.25 +		[ $i = $1/usr/share/zoneinfo/$TIMEZONE ] || rm $i
    1.26  	done
    1.27  	rmdir $1/usr/share/zoneinfo/* 2> /dev/null
    1.28  	[ -n "$TIMEZONE" ] && echo "$TIMEZONE" > $1/etc/TZ
    1.29  	for i in $1/usr/share/kmap/*.kmap ; do
    1.30 -		[ $i == $1/usr/share/kmap/$KEYBOARD.kmap ] || rm $i
    1.31 +		[ $i = $1/usr/share/kmap/$KEYBOARD.kmap ] || rm $i
    1.32  	done
    1.33  }