wok-next rev 6073

zsh: no more link for /bin/sh with tazbb
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 26 12:59:48 2010 +0200 (2010-08-26)
parents 414496f5aadf
children d91ee0bdbd09
files zsh/receipt
line diff
     1.1 --- a/zsh/receipt	Tue Aug 24 10:04:50 2010 +0200
     1.2 +++ b/zsh/receipt	Thu Aug 26 12:59:48 2010 +0200
     1.3 @@ -58,8 +58,9 @@
     1.4  		echo ""
     1.5  		echo "**** Actual SH link : $sh"
     1.6  		echo ""
     1.7 -		echo -n "Do you want Zsh for /bin/sh (y/N) ? : "; read anser
     1.8 -		if [ "$anser" == "y" ]; then
     1.9 +		echo -n "Do you want Zsh for /bin/sh (y/N) ? : "
    1.10 +		read -t 30 answer < /dev/tty
    1.11 +		if [ "$answer" == "y" ]; then
    1.12  			echo ""
    1.13  			echo -n "Removin sh link to make a new one pointing on /bin/zsh..."
    1.14  			rm $root/bin/sh && ln -s /bin/zsh $root/bin/sh