diff --git a/apps/WACUP (new WinAmp)/install-32 b/apps/WACUP (new WinAmp)/install-32 index ae3106f..ba03a5b 100755 --- a/apps/WACUP (new WinAmp)/install-32 +++ b/apps/WACUP (new WinAmp)/install-32 @@ -7,10 +7,11 @@ function error { exit 1 } -[ "$(cat "${DIRECTORY}/data/status/Wine (x86)")" != 'installed' ] && ("${DIRECTORY}/manage" install 'Wine (x86)' || error "Exiting now, as Wine failed to install.") +"${DIRECTORY}/manage" install-if-not-installed 'Wine (x86)' || error "Exiting now, as Wine failed to install." rm -f ~/wacup.exe - wget -O ~/wacup.exe 'https://getwacup.com/preview/WACUP_Preview_v1_0_21_7236.exe' || error "Failed to download wacup.exe!" wine ~/wacup.exe || error "Wine failed to run wacup.exe!" +rm -f ~/wacup.exe +