Fixed a bug in the -r (remove) functionality.

This commit is contained in:
Storm Dragon 2021-06-17 16:44:46 -04:00
parent 523ee4c563
commit d4a41df35b

View File

@ -467,7 +467,7 @@ game_removal() {
wineExec="${wineExec##*\\}"
# Confirm removal
get_bottle "${game%|*}"
read -rp "To remove the wine bottle $bottle and all of its contents press enter. To cancel press control+c. " continue
read -rp "To remove the wine bottle \"${WINEPREFIX##*/}\" and all of its contents press enter. To cancel press control+c. " continue
# kill any previous existing wineservers for this prefix in case they didn't shut down properly.
WINEPREFIX="${HOME}/.local/wine/${bottle}" wineserver -k
# remove the game