Fixed a bug in the -r (remove) functionality.
This commit is contained in:
parent
523ee4c563
commit
d4a41df35b
@ -467,7 +467,7 @@ game_removal() {
|
|||||||
wineExec="${wineExec##*\\}"
|
wineExec="${wineExec##*\\}"
|
||||||
# Confirm removal
|
# Confirm removal
|
||||||
get_bottle "${game%|*}"
|
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.
|
# kill any previous existing wineservers for this prefix in case they didn't shut down properly.
|
||||||
WINEPREFIX="${HOME}/.local/wine/${bottle}" wineserver -k
|
WINEPREFIX="${HOME}/.local/wine/${bottle}" wineserver -k
|
||||||
# remove the game
|
# remove the game
|
||||||
|
Loading…
Reference in New Issue
Block a user