From 73843ec7835e75d6de168f0043f81a9caf0fec2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20N=C3=B8rgaard?= Date: Sun, 7 Jul 2019 17:08:37 +0200 Subject: [PATCH] update curseforge urls --- minecraft-server/start-deployFTB | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/minecraft-server/start-deployFTB b/minecraft-server/start-deployFTB index 01a51f3f..cd3b7f2d 100644 --- a/minecraft-server/start-deployFTB +++ b/minecraft-server/start-deployFTB @@ -35,9 +35,11 @@ if [[ $startScriptCount = 0 ]]; then srv_modpack=${FTB_SERVER_MOD} if isURL ${srv_modpack}; then case $srv_modpack in - https://www.feed-the-beast.com/*/download|https://minecraft.curseforge.com/*/download) + https://www.feed-the-beast.com/*/download|https://www.curseforge.com/minecraft/modpacks/*/download/*/file) ;; - https://www.feed-the-beast.com/*|https://minecraft.curseforge.com/*) + https://www.curseforge.com/minecraft/modpacks/*/download/*) + srv_modpack=${srv_modpack}/file;; + https://www.feed-the-beast.com/*) srv_modpack=${srv_modpack}/download;; esac file=$(basename $(dirname $srv_modpack))