fix_ins.sh 614 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. # LGSM fix_ins.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://gameservermanagers.com
  5. # Description: Resolves various issues with Insurgency.
  6. local commandname="FIX"
  7. local commandaction="Fix"
  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=${filesdir}:${filesdir}/bin:${LD_LIBRARY_PATH}
  10. # Fixes: issue #529 - gamemode not passed to debug or start.
  11. if [ "${function_selfname}" == "command_debug.sh" ]; then
  12. defaultmap="\"${defaultmap}\""
  13. else
  14. defaultmap="\\\"${defaultmap}\\\""
  15. fi