Make the default answer for running an older uninstaller "yes".
This makes it behave more like the Windows installer, where the default
is to remove an older installation, which most people want to do anyway.
(cherry picked from commit 08e70c5e45
)
This commit is contained in:
parent
728153bb07
commit
83c56bb5f2
|
@ -454,13 +454,13 @@ fi
|
||||||
if test -x "$bindir/racket-uninstall"; then
|
if test -x "$bindir/racket-uninstall"; then
|
||||||
echo "A previous Racket uninstaller is found at"
|
echo "A previous Racket uninstaller is found at"
|
||||||
echo " \"$bindir/racket-uninstall\","
|
echo " \"$bindir/racket-uninstall\","
|
||||||
echon " should I run it? (default: no) "
|
echon " should I run it? (default: yes) "
|
||||||
read R
|
read R
|
||||||
case "$R" in
|
case "$R" in
|
||||||
[yY]* ) echon " running uninstaller..."
|
[nN]* ) failwith "abort..." ;;
|
||||||
"$bindir/racket-uninstall" || failwith "problems during uninstall"
|
* ) echon " running uninstaller..."
|
||||||
echo " done." ;;
|
"$bindir/racket-uninstall" || failwith "problems during uninstall"
|
||||||
* ) failwith "abort..." ;;
|
echo " done." ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user