slitaz-pizza rev 129 tip

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 08:25:57 2019 +0100 (6 months ago)
parents 4019e56b2584
children
files pizza web/pizza.cgi
line diff
     1.1 --- a/pizza	Wed Feb 21 21:10:34 2018 +0200
     1.2 +++ b/pizza	Tue Feb 26 08:25:57 2019 +0100
     1.3 @@ -242,7 +242,7 @@
     1.4  		cd $chroot || exit 1
     1.5  		for i in *
     1.6  		do
     1.7 -			[ "$i" == "home" ] || rm -rf $i
     1.8 +			[ "$i" = "home" ] || rm -rf $i
     1.9  		done && echo ""
    1.10  		;;
    1.11  	*)
     2.1 --- a/web/pizza.cgi	Wed Feb 21 21:10:34 2018 +0200
     2.2 +++ b/web/pizza.cgi	Tue Feb 26 08:25:57 2019 +0100
     2.3 @@ -5,7 +5,7 @@
     2.4  #
     2.5  
     2.6  # Output a RSS feed of latest build isos.
     2.7 -if [ "$QUERY_STRING" == "rss" ]; then
     2.8 +if [ "$QUERY_STRING" = "rss" ]; then
     2.9  	. /etc/slitaz/pizza.conf
    2.10  	pubdate=$(date "+%a, %d %b %Y %X")
    2.11  	cat << EOT
    2.12 @@ -212,7 +212,7 @@
    2.13  		mv $tmpdir/slitaz-$id $queue
    2.14  		status
    2.15  		
    2.16 -		if [ "$inqueue" == "1" ]; then
    2.17 +		if [ "$inqueue" = "1" ]; then
    2.18  			gettext "Your ISO will be built on next Pizza Bot run"
    2.19  		else
    2.20  			eval_ngettext \