mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 13:52:27 +00:00
feat(minecraft/entrypoint): add diagnostic to manifest load
This commit is contained in:
parent
22417858a3
commit
301e33f224
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue