slitaz-tools diff tinyutils/tazlocale @ rev 1029
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 08:26:53 2019 +0100 (2019-02-26) |
parents | c9f9186f0093 |
children | 96dacc7bbf6d |
line diff
1.1 --- a/tinyutils/tazlocale Sat Sep 02 16:32:55 2017 +0300 1.2 +++ b/tinyutils/tazlocale Tue Feb 26 08:26:53 2019 +0100 1.3 @@ -57,7 +57,7 @@ 1.4 link_language_files() { 1.5 . /etc/locale.conf 1.6 LANGUAGE=${LANG%_*} 1.7 - [ "$LANG" == 'POSIX' ] && LANGUAGE='en' 1.8 + [ "$LANG" = 'POSIX' ] && LANGUAGE='en' 1.9 1.10 # Openbox menu 1.11 make_i18n_link /etc/xdg/openbox/menu.%%.xml 1.12 @@ -151,7 +151,7 @@ 1.13 esac 1.14 1.15 # Default: POSIX => English 1.16 - [ "$locale" == 'en' ] && locale='en_US' 1.17 + [ "$locale" = 'en' ] && locale='en_US' 1.18 [ -s /etc/locale.conf ] && RECONFIG='yes' 1.19 1.20 # If it's a reconfiguration give an info message.