mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-22 14:34:21 +00:00
feat(minecraft/entrypoint): add diagnostic to manifest load
This commit is contained in:
1 parent
22417858a3
commit
301e33f224
1 file changed
+1
@@ -78,6 +78,7 @@ case "X$MANIFEST" in
|
|||||||
jq --slurpfile m "${MANIFEST}" '$m.files | (.projectID|tostring) + " " + (.fileID|tostring)'| while read -r p f
|
jq --slurpfile m "${MANIFEST}" '$m.files | (.projectID|tostring) + " " + (.fileID|tostring)'| while read -r p f
|
||||||
do
|
do
|
||||||
url="${CURSE_URL_BASE}/${p}/files/${f}/download"
|
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
|
# Manifest usually doesn't have mod names. Using id should be fine, tho
|
||||||
curl -sSL -o /data/mods/${p}_${f}.jar
|
curl -sSL -o /data/mods/${p}_${f}.jar
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in new issue
Block a user