Removed invalid spigot/bukkit download along with debug of content

For #655
This commit is contained in:
Geoff Bourne 2020-11-04 17:04:57 -06:00
parent 391e807c78
commit 544b1f243d

View File

@ -85,6 +85,13 @@ ERROR: failed to download from $downloadUrl
exact version, such as 1.4.6-R0.4-SNAPSHOT or 1.8-R0.1-SNAPSHOT-LATEST exact version, such as 1.4.6-R0.4-SNAPSHOT or 1.8-R0.1-SNAPSHOT-LATEST
EOF EOF
if isDebugging && [[ $(grep -c "DOCTYPE html" $SERVER) != 0 ]]; then
cat $SERVER
fi
# remove invalid download
rm $SERVER
exit 3 exit 3
fi fi