diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:06 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:06 +0000 |
commit | 51a8a2a1b122186f8d761db64a1d15979160a0a8 (patch) | |
tree | 3b7584fb7cdb3f827b1d4ec00e47730a258b9267 /dselect/install | |
parent | c7b5ce1cf17ebbf845b58ce33956251176d471b2 (diff) |
Oops, sh script fixes
Author: jgg
Date: 1998-12-08 23:18:31 GMT
Oops, sh script fixes
Diffstat (limited to 'dselect/install')
-rwxr-xr-x | dselect/install | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dselect/install b/dselect/install index 7c4237458..e1bea340d 100755 --- a/dselect/install +++ b/dselect/install @@ -5,11 +5,11 @@ CLEAN="auto" OPTS="-f" APTGET="/usr/bin/apt-get" DPKG="/usr/bin/dpkg" -sh -e +set -e RES=`apt-config shell CLEAN DSelect::Clean OPTS DSelect::Options \ DPKG Dir::Bin::dpkg APTGET Dir::Bin::apt-get` eval $RES -sh +e +set +e # Yes/No Prompter function yesno() { @@ -37,7 +37,7 @@ function yesno() { echo $ans | tr YN yn } -#$APTGET $OPTS dselect-upgrade +$APTGET $OPTS dselect-upgrade RES=$? # 1 means the user choose no at the prompt |