diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1504893..0ed730e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -329,7 +329,7 @@ download() { fi ;; esac - if [[ $downloadError -eq 0 ]]; then + if [[ $downloadError -ne 0 ]]; then rm -fv "${cache}/${dest}" dialog --backtitle "Audio Game Manager" \ --infobox "Error downloading \"${dest}\". Installation cannot continue." -1 -1 --stdout