fix_cmw.sh 632 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. # LinuxGSM fix_cmw.sh module
  3. # Author: Daniel Gibbs
  4. # Contributors: http://linuxgsm.com/contrib
  5. # Website: https://linuxgsm.com
  6. # Description: Resolves the issue of the not starting server on linux
  7. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  8. if [ ! -f "${executabledir}/steam_appid.txt" ]; then
  9. fixname="steam_appid.txt"
  10. fn_fix_msg_start
  11. echo 219640 > "${executabledir}/steam_appid.txt"
  12. fn_fix_msg_end
  13. fi
  14. if [ ! -f "${servercfgfullpath}" ]; then
  15. fn_fix_msg_start
  16. fixname="copy config"
  17. mkdir "${servercfgdir}"
  18. cp "${systemdir}/UDKGame/Config/"*.ini "${servercfgdir}"
  19. fn_fix_msg_end
  20. fi