wok diff zsh/receipt @ rev 6229
Up: curl, curl-dev, libcurl to 7.21.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Sep 12 00:37:38 2010 +0000 (2010-09-12) |
parents | 413b0174114a |
children | c46b4be12876 |
line diff
1.1 --- a/zsh/receipt Sun Feb 28 18:16:33 2010 +0100 1.2 +++ b/zsh/receipt Sun Sep 12 00:37:38 2010 +0000 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