wok-6.x diff rpm4/receipt @ rev 9699
Be less entousiast and sed only 13 pkgs :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 08 00:40:27 2011 +0200 (2011-05-08) |
parents | 32bbe656f4ef |
children | 8e4c74abdf74 |
line diff
1.1 --- a/rpm4/receipt Mon Feb 07 17:19:51 2011 +0000 1.2 +++ b/rpm4/receipt Sun May 08 00:40:27 2011 +0200 1.3 @@ -58,15 +58,15 @@ 1.4 echo "" 1.5 echo "**** Actual RPM link : $cmd" 1.6 echo "" 1.7 - echo -n "Do you want rpm for /bin/rpm (y/N) ? : "; read anser 1.8 - if [ "$anser" == "y" ]; then 1.9 + echo -n "Do you want rpm for /bin/rpm (Y/n) ? : "; read -t 30 anser 1.10 + if [ "$anser" != "n" ]; then 1.11 echo "" 1.12 echo -n "Removing rpm link to make a new one pointing on /usr/bin/rpm..." 1.13 rm $root/bin/rpm && ln -sf $root/usr/bin/rpm $root/bin/rpm 1.14 status 1.15 else 1.16 echo "" 1.17 - echo "Leaving /bin/vi to : $cmd" 1.18 + echo "Leaving /bin/rpm to : $cmd" 1.19 fi 1.20 fi 1.21