From 7d56de9d15fbc6336cb27646e7e54172bf2c415e Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 6 Nov 2021 21:46:31 -0500 Subject: [PATCH] Cleaned up minecraft_server.jar for versions >= 1.6 #306 --- scripts/start-deployVanilla | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/start-deployVanilla b/scripts/start-deployVanilla index ed8eadbc..291f0f64 100755 --- a/scripts/start-deployVanilla +++ b/scripts/start-deployVanilla @@ -47,6 +47,8 @@ if versionLessThan 1.6; then ln -s "/data/$SERVER" /data/minecraft_server.jar fi SERVER=minecraft_server.jar +elif [[ -L /data/minecraft_server.jar ]]; then + rm -f /data/minecraft_server.jar fi isDebugging && ls -l