Browse Source

added force-update option

The update checker is not detecting updates as SteamCMD is not always
returning the latest release number. I dont know why SteamCMD is doing
this.

I have added force-update which will simply force an update without
checking first (the server will restart)

I recommend using update once an hour and force-update daily.
pull/368/head
Daniel Gibbs 10 years ago
parent
commit
672558e335
  1. 4
      functions/fn_getopt

4
functions/fn_getopt

@ -2,7 +2,7 @@
# LGSM fn_getopt function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
# Version: 150414
# Version: 060514
# Description: getopt arguments.
@ -16,6 +16,8 @@ case "$getopt" in
fn_restart;;
update)
fn_update_check;;
force-update)
fn_update_dl;;
validate)
fn_validate;;
monitor)

Loading…
Cancel
Save