From 4099cde7371b4a1c7ad1a493cd14ff8af344a9a3 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Tue, 3 Nov 2020 16:47:46 -0600 Subject: [PATCH] Revert "Improved handling of bad spigot/bukkit downloads via temp file For #655" This reverts commit e56a74dc --- start-deployBukkitSpigot | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/start-deployBukkitSpigot b/start-deployBukkitSpigot index 77e8d24b..bad714d6 100644 --- a/start-deployBukkitSpigot +++ b/start-deployBukkitSpigot @@ -72,9 +72,8 @@ function downloadSpigot { zarg="-z $SERVER" fi log "Downloading $match from $downloadUrl ..." - tmpJar=/tmp/${getbukkitFlavor}.jar - curl -fsSL -o "$tmpJar" $zarg "$downloadUrl" - if [[ $? != 0 || $(grep -c "DOCTYPE html" $tmpJar) != 0 ]]; then + curl -fsSL -o $SERVER $zarg "$downloadUrl" + if [[ $? != 0 || $(grep -c "DOCTYPE html" $SERVER) != 0 ]]; then cat <