command_update.sh 377 B

12345678910111213141516
  1. #!/bin/bash
  2. # LGSM commanf_update.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://gameservermanagers.com
  5. lgsm_version="210516"
  6. # Description:Hangles updating of servers.
  7. check.sh
  8. fn_print_dots "Checking for update"
  9. if [ "${gamename}" == "Teamspeak 3" ]; then
  10. update_ts3.sh
  11. elif [ "${engine}" == "goldsource" ]||[ "${forceupdate}" == "1" ]; then
  12. update_steamcmd.sh
  13. fi