# HG changeset patch # User Pascal Bellard # Date 1551165957 -3600 # Node ID 47fc1f5fb6d624795a3fb3c3600ecab3e0cd3b40 # Parent 4019e56b25848c3c550b439bce6bb010a708dab5 Remove ashism == diff -r 4019e56b2584 -r 47fc1f5fb6d6 pizza --- a/pizza Wed Feb 21 21:10:34 2018 +0200 +++ b/pizza Tue Feb 26 08:25:57 2019 +0100 @@ -242,7 +242,7 @@ cd $chroot || exit 1 for i in * do - [ "$i" == "home" ] || rm -rf $i + [ "$i" = "home" ] || rm -rf $i done && echo "" ;; *) diff -r 4019e56b2584 -r 47fc1f5fb6d6 web/pizza.cgi --- a/web/pizza.cgi Wed Feb 21 21:10:34 2018 +0200 +++ b/web/pizza.cgi Tue Feb 26 08:25:57 2019 +0100 @@ -5,7 +5,7 @@ # # Output a RSS feed of latest build isos. -if [ "$QUERY_STRING" == "rss" ]; then +if [ "$QUERY_STRING" = "rss" ]; then . /etc/slitaz/pizza.conf pubdate=$(date "+%a, %d %b %Y %X") cat << EOT @@ -212,7 +212,7 @@ mv $tmpdir/slitaz-$id $queue status - if [ "$inqueue" == "1" ]; then + if [ "$inqueue" = "1" ]; then gettext "Your ISO will be built on next Pizza Bot run" else eval_ngettext \