summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdselect/install2
-rwxr-xr-xdselect/update2
2 files changed, 2 insertions, 2 deletions
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