diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:40 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:40 +0000 |
commit | 7834cb579fe88a11bd3850363bbd4c77797581bb (patch) | |
tree | c41841b664cbd29e9abd6addf54634faf0559120 /dselect | |
parent | b7675e5dac28258f2d44bb63f13381dd4f5c9ec7 (diff) | |
download | apt-7834cb579fe88a11bd3850363bbd4c77797581bb.tar.gz |
More fixes
Author: jgg
Date: 2000-01-16 05:36:17 GMT
More fixes
Diffstat (limited to 'dselect')
-rwxr-xr-x | dselect/install | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dselect/install b/dselect/install index 0806f7b35..93a0f1e44 100755 --- a/dselect/install +++ b/dselect/install @@ -20,15 +20,15 @@ yesno() { local ans def defp if [ "$2" ];then case $2 in - Y|y) defp="(Y/n)" def=y;; - N|n) defp="(y/N)" def=n;; + Y|y) defp="[Y/n]" def=y;; + N|n) defp="[y/N]" def=n;; *) echo "Bad default setting!" 1>&2; exit 1;; esac else - defp="(y/N)" def=n + defp="[y/N]" def=n fi while :;do - echo -n "$1$defp" 1>&3 + echo -n "$1 $defp" 1>&3 read ans case $ans in Y|y|N|n) break;; @@ -72,7 +72,7 @@ if [ $RES -eq 0 ]; then ;; prompt) exec 3>&1 - if [ `yesno "Do you want to erase the downloaded .deb files " y` = y ]; then + if [ `yesno "Do you want to erase the downloaded .deb files?" y` = y ]; then $APTGET clean && echo "Press enter to continue." && read RES && exit 0; fi ;; |