summaryrefslogtreecommitdiff
path: root/dselect
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:24 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:24 +0000
commit8e7e7700e7dbf706abdbb8ba4831588654ccd6f4 (patch)
treeabf4d1253eb201ee07b49e4cb042ca2998cbaf8d /dselect
parent505c14103eb41e2e5d36d2b75d12560598d4b1d8 (diff)
downloadapt-8e7e7700e7dbf706abdbb8ba4831588654ccd6f4.tar.gz
Fixed bashisms
Author: jgg Date: 1999-01-11 23:56:11 GMT Fixed bashisms
Diffstat (limited to 'dselect')
-rwxr-xr-xdselect/install2
-rwxr-xr-xdselect/update2
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