mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-20 14:16:52 +00:00
Undid method of pulling spigot_server.jar
rm -f $SERVER was a bad idea, as it deletes the server file regardless of whether wget is able to download a new one. If you keep a copy of spigot_server in the server directory, wget will fail if it's unable to pull the file and it wont delete what you already have.
This commit is contained in:
1 parent
68d731c096
commit
b23fb93366
1 file changed
+2
-1
@@ -62,7 +62,8 @@ case "$TYPE" in
|
||||
;;
|
||||
esac
|
||||
|
||||
rm -f $SERVER
|
||||
#BAD Idea
|
||||
#rm -f $SERVER
|
||||
wget -q https://getspigot.org$URL
|
||||
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user