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. original commit: 08e70c5e45c8040c9e1440c3a7fa9f30caedae14
This commit is contained in:
parent
8597119f8c
commit
77a5a5beb8
|
@ -454,13 +454,13 @@ fi
|
|||
if test -x "$bindir/racket-uninstall"; then
|
||||
echo "A previous Racket uninstaller is found at"
|
||||
echo " \"$bindir/racket-uninstall\","
|
||||
echon " should I run it? (default: no) "
|
||||
echon " should I run it? (default: yes) "
|
||||
read R
|
||||
case "$R" in
|
||||
[yY]* ) echon " running uninstaller..."
|
||||
"$bindir/racket-uninstall" || failwith "problems during uninstall"
|
||||
echo " done." ;;
|
||||
* ) failwith "abort..." ;;
|
||||
[nN]* ) failwith "abort..." ;;
|
||||
* ) echon " running uninstaller..."
|
||||
"$bindir/racket-uninstall" || failwith "problems during uninstall"
|
||||
echo " done." ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user