command_check_update.sh 612 B

1234567891011121314151617181920212223242526272829
  1. #!/bin/bash
  2. # LinuxGSM command_check_update.sh module
  3. # Author: Daniel Gibbs
  4. # Contributors: http://linuxgsm.com/contrib
  5. # Website: https://linuxgsm.com
  6. # Description: Handles updating of servers.
  7. commandname="CHECK-UPDATE"
  8. commandaction="check for Update"
  9. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  10. fn_firstcommand_set
  11. fn_print_dots ""
  12. check.sh
  13. core_logs.sh
  14. if [ "${appid}" ]; then
  15. core_steamcmd.sh
  16. check_steamcmd.sh
  17. fn_update_steamcmd_localbuild
  18. fn_update_steamcmd_remotebuild
  19. fn_update_steamcmd_compare
  20. elif [ "${shortname}" == "ts3" ]; then
  21. update_ts3.sh
  22. fi
  23. core_exit.sh