From 69146072064cfd77b96a7d7ec5c625b4d60ba67c Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Sat, 21 Jan 2023 02:21:04 -0500 Subject: [PATCH] Curl handle redirrects automatically. --- linux-game-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index ad79fea..9b6cdeb 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -192,7 +192,7 @@ download() { fi # Skip if the item is in cache. test -e "${cache}/${dest}" && continue - if ! curl -4 --output "${cache}/${dest}" "${i}" ; then + if ! curl -L4 --output "${cache}/${dest}" "${i}" ; then echo "Could not download \"$i\"..." exit 1 fi