From 544b1f243d643f52cee1107fb945fbf39cb79d57 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Wed, 4 Nov 2020 17:04:57 -0600 Subject: [PATCH] Removed invalid spigot/bukkit download along with debug of content For #655 --- start-deployBukkitSpigot | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/start-deployBukkitSpigot b/start-deployBukkitSpigot index 443f6426..37b59269 100644 --- a/start-deployBukkitSpigot +++ b/start-deployBukkitSpigot @@ -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 EOF + + if isDebugging && [[ $(grep -c "DOCTYPE html" $SERVER) != 0 ]]; then + cat $SERVER + fi + + # remove invalid download + rm $SERVER exit 3 fi