Archiviert
13
0

[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 if [ ! -f "$versionjson" ]; then
echo "Downloading $minecraftversion JSON Data" echo "Downloading $minecraftversion JSON Data"
verescaped=$(echo ${minecraftversion} | sed 's/\./\\./g') 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") 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) jsonurl=$(echo $verentry | grep -oE https:\/\/.*?\.json)
echo $jsonurl
curl -o "$versionjson" "$jsonurl" curl -o "$versionjson" "$jsonurl"
echo "$versionjson - $jsonurl" echo "$versionjson - $jsonurl"
fi fi