One more removal fix.
This commit is contained in:
parent
ddb3e751c8
commit
a01f34dd02
@ -449,9 +449,9 @@ game_removal() {
|
||||
else
|
||||
# Found install path, can remove game files
|
||||
dialog --backtitle "Linux Game Manager" \
|
||||
--yesno "This will remove the directory \"${installPath}/${gameInstallPath}\" and all of its contents. Do you want to continue?" -1 -1 || exit 0
|
||||
--yesno "This will remove the directory \"${gameInstallPath}\" and all of its contents. Do you want to continue?" -1 -1 || exit 0
|
||||
# Remove the game directory and symlink
|
||||
{ rm -rfv "${installPath}/${gameInstallPath}"
|
||||
{ rm -rfv "${gameInstallPath}"
|
||||
rm -fv "${0%/*}/.launch/${gameName}.sh";
|
||||
} | dialog --backtitle "Linux Game Manager" \
|
||||
--progressbox "Removing game..." -1 -1
|
||||
|
Loading…
Reference in New Issue
Block a user