slitaz-tools diff tinyutils/tazx @ rev 1029

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 08:26:53 2019 +0100 (2019-02-26)
parents c187e3d49df6
children
line diff
     1.1 --- a/tinyutils/tazx	Tue Apr 11 02:28:50 2017 +0300
     1.2 +++ b/tinyutils/tazx	Tue Feb 26 08:26:53 2019 +0100
     1.3 @@ -280,7 +280,7 @@
     1.4  	esac
     1.5  
     1.6  	if [ "$appname" != " " ]; then
     1.7 -		if [ "$appname" == 'show_ALL' ]; then
     1.8 +		if [ "$appname" = 'show_ALL' ]; then
     1.9  			app_name_dialog full-list
    1.10  			inst_pkg $appname
    1.11  		fi
    1.12 @@ -349,7 +349,7 @@
    1.13  				t='<--' ;;
    1.14  		esac
    1.15  
    1.16 -		if [ "$2" == 'full-list' ] || [ "$t" == '<--' ]; then
    1.17 +		if [ "$2" = 'full-list' ] || [ "$t" = '<--' ]; then
    1.18  			echo "$i"
    1.19  
    1.20  			if [ "$3" != 'yad' ]; then
    1.21 @@ -358,7 +358,7 @@
    1.22  		fi
    1.23  	done
    1.24  
    1.25 -	if [ "$2" == 'only-installed' ] && [ "$3" != 'yad' ]; then
    1.26 +	if [ "$2" = 'only-installed' ] && [ "$3" != 'yad' ]; then
    1.27  		echo 'show_ALL' "+$(_n 'Install')"
    1.28  	fi
    1.29  }
    1.30 @@ -401,7 +401,7 @@
    1.31  			inst_pkg slim
    1.32  			inst_pkg dbus
    1.33  
    1.34 -			if [ $LM == "$(_ 'OFF')" ]; then
    1.35 +			if [ $LM = "$(_ 'OFF')" ]; then
    1.36  				LM='slim'
    1.37  			else
    1.38  				LM=''