From 851a5dbf01f78b3a51bf330712f4abacae125c33 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 28 Nov 2023 11:50:15 -0500 Subject: [PATCH] Had to switch the download of the metal mod to manual download. --- linux-game-manager.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index fa762a1..19ff898 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -217,7 +217,7 @@ download_named() { rm -v "${cache}/${dest}" fi # Skip if the item is in cache. - test -e "${cache}/${dest}" && continue + test -e "${cache}/${dest}" && return if ! curl -L4 --output "${cache}/${dest}" "${2}" ; then echo "Could not download \"$dest\"..." exit 1 @@ -655,13 +655,13 @@ case "${game}" in fi fi doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null | head -1)" - # The url breaks the normal download function if ! [[ -e "${doomPath}/DoomMetalVol6.wad" ]]; then alert if dialog --backtitle "Linux Game manager" --yesno "Would you like a metal mod?" -1 -1 --stdout ; then - download_named "Doom_Metal_Volume_6_v2.rar" "https://www.moddb.com/downloads/mirror/214324/124/0dbd81ee8d819f6a20da3830ddc20c18/" + get_installer "Doom_Metal_Volume_6_v2.rar" "https://www.moddb.com/addons/start/214324" fi fi + # The url breaks the normal download function download_named "keyshare-universal.pk3" "https://forum.zdoom.org/download/file.php?id=42262" download "https://www.dropbox.com/s/uf01fx3vydua6zx/TobyAccessibilityMod_Version${tobyVersion}.zip?dl=0" "https://www.dropbox.com/scl/fi/bac94s01bl31p6e73pbof/OperationMDK.zip?rlkey=6ufdqgyacakqz6ulr2cue6rtm&dl=1" echo "The next step may require your password."