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:
jtcressy committed 2016-03-15 01:05:37 -06:00
1 parent 68d731c096
commit b23fb93366
1 file changed
+2 -1
+2 -1
View File
@@ -62,7 +62,8 @@ case "$TYPE" in
;;
esac
rm -f $SERVER
#BAD Idea
#rm -f $SERVER
wget -q https://getspigot.org$URL
;;