From 8b067c22e27a5939e45517091fbb8322ad7b71c8 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:55:11 +0000 Subject: 3 more bugs Author: jgg Date: 1999-11-16 03:16:34 GMT 3 more bugs --- dselect/install | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'dselect') diff --git a/dselect/install b/dselect/install index 9e43438ac..0806f7b35 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 -- cgit v1.2.3