mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
[CI-SKIP] Remove debug echo statements from last
This commit is contained in:
parent
1944b6bd54
commit
026ee580a3
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue