From f02baa8761eea6a27e0709c4f00193041ccd555e Mon Sep 17 00:00:00 2001 From: Tyler Page Date: Sat, 3 Aug 2019 12:47:41 +0000 Subject: [PATCH] fix duplicate projects subpath (#371) `CURSE_URL_BASE` already had `/projects` appended to it, missed it by mistake --- start-finalSetup02Modpack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-finalSetup02Modpack b/start-finalSetup02Modpack index 38f0c1eb..25cd680d 100644 --- a/start-finalSetup02Modpack +++ b/start-finalSetup02Modpack @@ -89,7 +89,7 @@ case "X$EFFECTIVE_MANIFEST_URL" in do if [ ! -f $MOD_DIR/${p}_${f}.jar ] then - redirect_url="$(curl -Ls -o /dev/null -w %{url_effective} ${CURSE_URL_BASE}/projects/${p})" + redirect_url="$(curl -Ls -o /dev/null -w %{url_effective} ${CURSE_URL_BASE}/${p})" url="$redirect_url/download/${f}/file" echo Downloading curseforge mod $url # Manifest usually doesn't have mod names. Using id should be fine, tho