fix.sh 917 B

123456789101112131415161718192021222324252627282930313233343536
  1. #!/bin/bash
  2. # LGSM fix.sh function
  3. # Author: Daniel Gibbs
  4. # Website: http://gameservermanagers.com
  5. lgsm_version="301215"
  6. # Description: Overall function for managing fixes.
  7. # Runs functions that will fix an issue.
  8. if [ ! -z "${appid}" ]; then
  9. fix_steamcmd.sh
  10. fi
  11. if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then
  12. startfix=1
  13. fix_csgo.sh
  14. elif [ "${gamename}" == "Insurgency" ]; then
  15. fix_ins.sh
  16. elif [ "${gamename}" == "ARMA 3" ]; then
  17. fix_arma3.sh
  18. fi
  19. if [ "${function_selfname}" == "command_install.sh" ]; then
  20. fix_glibc.sh
  21. echo "Applying ${gamename} Server Fixes"
  22. echo "================================="
  23. if [ "${gamename}" == "Killing Floor" ]; then
  24. fix_kf.sh
  25. elif [ "${gamename}" == "Red Orchestra: Ostfront 41-45" ]; then
  26. fix_ro.sh
  27. elif [ "${gamename}" == "Unreal Tournament 2004" ]; then
  28. fix_ut2k4.sh
  29. elif [ "${gamename}" == "Unreal Tournament 99" ]; then
  30. fix_ut99.sh
  31. fi
  32. fi