Had to switch the download of the metal mod to manual download.
This commit is contained in:
parent
c63db1a4e3
commit
851a5dbf01
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user