From c217f42adc1a82c7400e85178f61bf429fea1bc4 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:51:34 +0000 Subject: Fixed up the docs a bit Author: jgg Date: 1998-11-23 01:45:58 GMT Fixed up the docs a bit --- dselect/update | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'dselect') diff --git a/dselect/update b/dselect/update index ca507c4c6..3260278b6 100755 --- a/dselect/update +++ b/dselect/update @@ -7,9 +7,11 @@ APTGET="/usr/bin/apt-get" APTCACHE="/usr/bin/apt-cache" DPKG="/usr/bin/dpkg" CACHEDIR="/var/cache/apt" +PROMPT="no" RES=`apt-config shell OPTS DSelect::UpdateOptions \ DPKG Dir::Bin::dpkg APTGET Dir::Bin::apt-get \ - APTCACHE Dir::Bin::apt-cache CACHEDIR Dir::Cache` + APTCACHE Dir::Bin::apt-cache CACHEDIR Dir::Cache \ + PROMPT DSelect::PromptAfterUpdate` eval $RES $APTGET $OPTS update @@ -19,4 +21,9 @@ rm -f /var/cache/apt/available $APTCACHE dumpavail > $CACHEDIR/available $DPKG --update-avail $CACHEDIR/available rm -f $CACHEDIR/available + +if [ $PROMPT == "yes" ]; then + echo "Press enter to continue." && read RES; +fi + exit 0 -- cgit v1.2.3