Explorar el Código

Oops, sh script fixes
Author: jgg
Date: 1998-12-08 23:18:31 GMT
Oops, sh script fixes

Arch Librarian hace 22 años
padre
commit
51a8a2a1b1
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      dselect/install

+ 3 - 3
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