From 316fc6a588898e86a1167370c159a7324d144b1a Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 15 Jun 2021 19:07:07 -0400 Subject: [PATCH] Added confirmation showing what will be removed for -r. --- audiogame-manager.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index f610a16..eeaf795 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -465,6 +465,8 @@ game_removal() { local wineExec="${game#*|}" wineExec="${wineExec%|*}" wineExec="${wineExec##*\\}" + # Confirm removal + read -rp "To remove the wine bottle ${game%|*} 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/${game%|*}" wineserver -k # remove the game