From 89fa3ff8feba32f6951e56b6044d5b1e2c617205 Mon Sep 17 00:00:00 2001 From: hejamu Date: Tue, 12 May 2020 01:53:29 +0200 Subject: [PATCH] Short hotfix until version helper function is done (#520) --- start-deployBukkitSpigot | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/start-deployBukkitSpigot b/start-deployBukkitSpigot index 05e29994..bd3639b6 100644 --- a/start-deployBukkitSpigot +++ b/start-deployBukkitSpigot @@ -20,7 +20,16 @@ function buildSpigotFromSource { cat /data/spigot_build.log exit 1 fi - mv craftbukkit-*.jar /data/${SERVER} + if [ $VANILLA_VERSION != "1.15.2" -a \ + $VANILLA_VERSION != "1.15.1" -a \ + $VANILLA_VERSION != "1.15" -a \ + $VANILLA_VERSION != "1.14.4" -a \ + $VANILLA_VERSION != "1.14.3" -a \ + $VANILLA_VERSION != "1.14.2" -a \ + $VANILLA_VERSION != "1.14.1" -a \ + $VANILLA_VERSION != "1.14" ]; then + mv craftbukkit-*.jar /data/${SERVER} + fi log "Cleaning up" rm -rf /data/temp cd /data