mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
feat(minecraft/entrypoint): add diagnostic to manifest load
This commit is contained in:
parent
22417858a3
commit
301e33f224
@ -78,6 +78,7 @@ case "X$MANIFEST" in
|
||||
jq --slurpfile m "${MANIFEST}" '$m.files | (.projectID|tostring) + " " + (.fileID|tostring)'| while read -r p f
|
||||
do
|
||||
url="${CURSE_URL_BASE}/${p}/files/${f}/download"
|
||||
echo Downloading curseforge mod $url
|
||||
# Manifest usually doesn't have mod names. Using id should be fine, tho
|
||||
curl -sSL -o /data/mods/${p}_${f}.jar
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user