3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-15 02:50:09 +01:00

[CI-SKIP] Remove debug echo statements from last

Dieser Commit ist enthalten in:
Zach Brown 2018-10-16 20:41:07 -04:00
Ursprung 1944b6bd54
Commit 026ee580a3
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: CC9DA35FC5450B76

Datei anzeigen

@ -25,11 +25,8 @@ versionjson="$workdir/Minecraft/$minecraftversion/$minecraftversion.json"
if [ ! -f "$versionjson" ]; then
echo "Downloading $minecraftversion JSON Data"
verescaped=$(echo ${minecraftversion} | sed 's/\./\\./g')
echo $verescaped
verentry=$(curl -s "https://launchermeta.mojang.com/mc/game/version_manifest.json" | grep -oE "{\"id\": \"${verescaped}\".*?\.json")
echo $verentry
jsonurl=$(echo $verentry | grep -oE https:\/\/.*?\.json)
echo $jsonurl
curl -o "$versionjson" "$jsonurl"
echo "$versionjson - $jsonurl"
fi