4
0

check_steamcmd.sh 548 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. # LinuxGSM check_steamcmd.sh module
  3. # Author: Daniel Gibbs
  4. # Contributors: https://linuxgsm.com/contrib
  5. # Website: https://linuxgsm.com
  6. # Description: Checks if SteamCMD is installed correctly.
  7. moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  8. # init steamcmd functions.
  9. core_steamcmd.sh
  10. fn_check_steamcmd_clear
  11. fn_check_steamcmd
  12. if [ "${shortname}" == "ark" ]; then
  13. fn_check_steamcmd_ark
  14. fi
  15. fn_check_steamcmd_dir
  16. fn_check_steamcmd_dir_legacy
  17. fn_check_steamcmd_steamapp
  18. fn_check_steamcmd_user
  19. fn_check_steamcmd_exec