wok diff zsh/receipt @ rev 20892

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 09:14:07 2019 +0100 (2019-02-26)
parents 510d209b062d
children beba30c03091
line diff
     1.1 --- a/zsh/receipt	Fri Dec 25 17:55:12 2015 +0100
     1.2 +++ b/zsh/receipt	Tue Feb 26 09:14:07 2019 +0100
     1.3 @@ -56,7 +56,7 @@
     1.4  		echo ''
     1.5  		echo -n 'Do you want Zsh for /bin/sh (y/N) ? : '
     1.6  		read -t 30 answer < /dev/tty
     1.7 -		if [ "$answer" == 'y' ]; then
     1.8 +		if [ "$answer" = 'y' ]; then
     1.9  			echo ''
    1.10  			action 'Removing sh link to make a new one pointing on /bin/zsh...'
    1.11  			rm "$1/bin/sh" && ln -s /bin/zsh "$1/bin/sh"