website rev 1330
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 12:26:04 2019 +0100 (2019-02-26) |
parents | 08f5d22f654b |
children | aa2e7007aa2b |
files | lib/i18n-info.sh |
line diff
1.1 --- a/lib/i18n-info.sh Thu Oct 11 01:28:00 2018 +0300 1.2 +++ b/lib/i18n-info.sh Tue Feb 26 12:26:04 2019 +0100 1.3 @@ -81,7 +81,7 @@ 1.4 # second part of filename, faq.en -> en 1.5 NAME_DOC2=$(echo $NAME_DOC | cut -d"." -f2) 1.6 # if filename have only [lang] then rename it to doc.[lang] 1.7 - if [ "$NAME_DOC1" == "$NAME_DOC2" ]; then 1.8 + if [ "$NAME_DOC1" = "$NAME_DOC2" ]; then 1.9 NAME_DOC1="doc" 1.10 fi 1.11 # not print 'linked' common documents, only localized ones 1.12 @@ -101,7 +101,7 @@ 1.13 PAGE=$(wget $APP_DIR -q -O -) 1.14 LINKS=$(echo "$PAGE" | grep -A 1 "filename" | grep "href" | wc -l) 1.15 # plural form 1.16 - if [ "$LINKS" == "1" ]; then 1.17 + if [ "$LINKS" = "1" ]; then 1.18 APP_TEXT="1<br/>item" 1.19 else 1.20 APP_TEXT="$LINKS<br/>items"