fix_ins.sh 655 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. # LinuxGSM fix_ins.sh module
  3. # Author: Daniel Gibbs
  4. # Contributors: http://linuxgsm.com/contrib
  5. # Website: https://linuxgsm.com
  6. # Description: Resolves various issues with Insurgency.
  7. moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  8. # Fixes: ./srcds_linux: error while loading shared libraries: libtier0.so: cannot open shared object file: No such file or directory.
  9. export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}:${serverfiles}/bin"
  10. # Fixes: issue #529 - gamemode not passed to debug or start.
  11. if [ "${commandname}" == "DEBUG" ]; then
  12. defaultmap="\"${defaultmap}\""
  13. else
  14. defaultmap="\\\"${defaultmap}\\\""
  15. fi