wok rev 18481

bash: post_install() not [ fails ] when you refuse to make bash default
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 08 04:06:36 2015 +0300 (2015-10-08)
parents 181af255e428
children d8e92fa2a4b1
files bash/receipt
line diff
     1.1 --- a/bash/receipt	Thu Oct 08 03:44:14 2015 +0300
     1.2 +++ b/bash/receipt	Thu Oct 08 04:06:36 2015 +0300
     1.3 @@ -97,7 +97,7 @@
     1.4  
     1.5  	echo -n 'Do you want to set Bash to default (y/N) ? : '
     1.6  	read -t 30 answer
     1.7 -	[ "$answer" == 'y' ] || return
     1.8 +	[ "$answer" != 'y' ] && return
     1.9  
    1.10  	echo
    1.11  	echo 'Setting bash as default shell for all users'