mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 06:12:27 +00:00
fix duplicate projects subpath (#371)
`CURSE_URL_BASE` already had `/projects` appended to it, missed it by mistake
This commit is contained in:
parent
19e39b84ec
commit
f02baa8761
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ case "X$EFFECTIVE_MANIFEST_URL" in
|
||||||
do
|
do
|
||||||
if [ ! -f $MOD_DIR/${p}_${f}.jar ]
|
if [ ! -f $MOD_DIR/${p}_${f}.jar ]
|
||||||
then
|
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"
|
url="$redirect_url/download/${f}/file"
|
||||||
echo Downloading curseforge mod $url
|
echo Downloading curseforge mod $url
|
||||||
# Manifest usually doesn't have mod names. Using id should be fine, tho
|
# Manifest usually doesn't have mod names. Using id should be fine, tho
|
||||||
|
|
Loading…
Reference in a new issue