From 60f1d4729d88c52afa905417b035cbb08eb0c9eb Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Thu, 10 Oct 2024 17:34:20 -0400 Subject: [PATCH] Doom 3: remove bad package removal already handled in runonce --- apps/Doom 3/install | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/apps/Doom 3/install b/apps/Doom 3/install index 18eafd93c2a..d6bd0a6bc34 100755 --- a/apps/Doom 3/install +++ b/apps/Doom 3/install @@ -3,22 +3,6 @@ choice=Download_Demo -# fix broken install due to @techcoder20 - -# Remove packages if necessary -pkgToRemoveListFull="sdl2-image sdl2-mixer sdl2-ttf" -pkgToRemoveList="" -for pkgToRemove in $(echo $pkgToRemoveListFull); do - $(dpkg --status $pkgToRemove &> /dev/null) - if [[ $? -eq 0 ]]; then - pkgToRemoveList="$pkgToRemoveList $pkgToRemove" - fi -done - -if [[ ! -z "$pkgToRemoveList" ]]; then - sudo apt-get --yes --purge remove $pkgToRemoveList || error "Could not remove packages" -fi - #Installing dependencies install_packages libfontconfig-dev automake libtool libfreeimage-dev \ libopenal-dev libpango1.0-dev libsndfile-dev libudev-dev libtiff5-dev libwebp-dev libasound2-dev \