diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:34 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:34 +0000 |
commit | c217f42adc1a82c7400e85178f61bf429fea1bc4 (patch) | |
tree | 0daa2459bdbfe9db54412e03cb33e37a1f4e3be5 /dselect | |
parent | 7d5bbcbc91a55fe3d1727c9dfc42b676b2fb743e (diff) | |
download | apt-c217f42adc1a82c7400e85178f61bf429fea1bc4.tar.gz |
Fixed up the docs a bit
Author: jgg
Date: 1998-11-23 01:45:58 GMT
Fixed up the docs a bit
Diffstat (limited to 'dselect')
-rwxr-xr-x | dselect/update | 9 |
1 files changed, 8 insertions, 1 deletions
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 |