Browse Source

Fixed bashisms

Author: jgg
Date: 1999-01-11 23:56:11 GMT
Fixed bashisms
debian/1.8.y
Arch Librarian 19 years ago
parent
commit
8e7e7700e7
  1. 2
      dselect/install
  2. 2
      dselect/update

2
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

2
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

Loading…
Cancel
Save