wok-current diff rpm4/receipt @ rev 9267
rpm4: may be called by a BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 16:19:13 2011 +0100 (2011-03-15) |
parents | 32bbe656f4ef |
children | 8e4c74abdf74 |
line diff
1.1 --- a/rpm4/receipt Mon Feb 07 17:19:51 2011 +0000 1.2 +++ b/rpm4/receipt Tue Mar 15 16:19:13 2011 +0100 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