Explorar el Código

Fixed bashisms
Author: jgg
Date: 1999-01-11 23:56:11 GMT
Fixed bashisms

Arch Librarian hace 22 años
padre
commit
8e7e7700e7
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      dselect/install
  2. 1 1
      dselect/update

+ 1 - 1
dselect/install

@@ -12,7 +12,7 @@ eval $RES
 set +e
 
 # Yes/No Prompter
-function yesno() {
+yesno() {
 # $1 = prompt
 # $2 = default(y)
 	local ans def defp

+ 1 - 1
dselect/update

@@ -22,7 +22,7 @@ $APTCACHE dumpavail > $CACHEDIR/available
 $DPKG --update-avail $CACHEDIR/available
 rm -f $CACHEDIR/available
 
-if [ $PROMPT == "yes" ]; then
+if [ $PROMPT = "yes" ]; then
    echo "Press enter to continue." && read RES;
 fi