diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:24 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:24 +0000 |
commit | 8e7e7700e7dbf706abdbb8ba4831588654ccd6f4 (patch) | |
tree | abf4d1253eb201ee07b49e4cb042ca2998cbaf8d /dselect | |
parent | 505c14103eb41e2e5d36d2b75d12560598d4b1d8 (diff) | |
download | apt-8e7e7700e7dbf706abdbb8ba4831588654ccd6f4.tar.gz |
Fixed bashisms
Author: jgg
Date: 1999-01-11 23:56:11 GMT
Fixed bashisms
Diffstat (limited to 'dselect')
-rwxr-xr-x | dselect/install | 2 | ||||
-rwxr-xr-x | dselect/update | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dselect/install b/dselect/install index e1bea340..db96a805 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 3260278b..ec5e78cc 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 |