From 8e7e7700e7dbf706abdbb8ba4831588654ccd6f4 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:52:24 +0000 Subject: Fixed bashisms Author: jgg Date: 1999-01-11 23:56:11 GMT Fixed bashisms --- dselect/install | 2 +- dselect/update | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'dselect') diff --git a/dselect/install b/dselect/install index e1bea340d..db96a8055 100755 --- a/dselect/install +++ b/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 diff --git a/dselect/update b/dselect/update index 3260278b6..ec5e78cc2 100755 --- a/dselect/update +++ b/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 -- cgit v1.2.3