mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-04-07 14:18:52 +00:00
Temporarily replace GTNH ServerPacks call with restify+jq (#3938)
This commit is contained in:
2
scripts/start-deployGTNH
Normal file → Executable file
2
scripts/start-deployGTNH
Normal file → Executable file
@@ -8,7 +8,7 @@ function getGTNHdownloadPath(){
|
||||
gtnh_download_path=""
|
||||
current_java_version=$(mc-image-helper java-release)
|
||||
|
||||
if ! packs_data="$(curl -sfL 'http://downloads.gtnewhorizons.com/ServerPacks/?raw')"; then
|
||||
if ! packs_data="$(restify --tag=a https://www.gtnewhorizons.com/version-history/ | jq -r '.[].href | select(test("Server"))')"; then
|
||||
logError "Failed to retrieve data from http://downloads.gtnewhorizons.com/ServerPacks/?raw"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user