diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:11 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:11 +0000 |
commit | 8b067c22e27a5939e45517091fbb8322ad7b71c8 (patch) | |
tree | 63c83f6279b4254d04cdf4566e222843dac443de /dselect | |
parent | 95baf595094a2c12fa5bf88d1240e36413e6946e (diff) | |
download | apt-8b067c22e27a5939e45517091fbb8322ad7b71c8.tar.gz |
3 more bugs
Author: jgg
Date: 1999-11-16 03:16:34 GMT
3 more bugs
Diffstat (limited to 'dselect')
-rwxr-xr-x | dselect/install | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/dselect/install b/dselect/install index 9e43438a..0806f7b3 100755 --- a/dselect/install +++ b/dselect/install @@ -8,7 +8,8 @@ DPKG="/usr/bin/dpkg" set -e RES=`apt-config shell CLEAN DSelect::Clean OPTS DSelect::Options \ DPKG Dir::Bin::dpkg APTGET Dir::Bin::apt-get \ - ARCHIVES Dir::Cache::Archives/` + ARCHIVES Dir::Cache::Archives/ \ + WAIT DSelect::WaitAfterDownload` eval $RES set +e @@ -38,8 +39,15 @@ yesno() { echo $ans | tr YN yn } -$APTGET $OPTS dselect-upgrade -RES=$? +if [ x$WAIT = "xyes" ]; then + $APTGET $OPTS -d dselect-upgrade + echo "Press enter to continue." && read RES + $APTGET $OPTS dselect-upgrade + RES=$? +else + $APTGET $OPTS dselect-upgrade + RES=$? +fi # 1 means the user choose no at the prompt if [ $RES -eq 1 ]; then |