From 51a8a2a1b122186f8d761db64a1d15979160a0a8 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:52:06 +0000 Subject: Oops, sh script fixes Author: jgg Date: 1998-12-08 23:18:31 GMT Oops, sh script fixes --- dselect/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dselect') 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 -- cgit v1.2.3