]> git.saurik.com Git - apt.git/commitdiff
Oops, sh script fixes
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:52:06 +0000 (16:52 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:52:06 +0000 (16:52 +0000)
Author: jgg
Date: 1998-12-08 23:18:31 GMT
Oops, sh script fixes

dselect/install

index 7c42374580e44aa5fa5fb3fa8e2a42c20306a830..e1bea340d07ba67593839c78ff8633a7eecc39b3 100755 (executable)
@@ -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