Browse Source

Added glibcfix for CSGO

already works on centos 6 as csgo comes with linked librarys however added libstdc++.so anyway
pull/1433/head
Daniel Gibbs 8 years ago
parent
commit
0543871467
  1. 2
      lgsm/functions/fix_glibc.sh
  2. 3
      lgsm/functions/info_glibc.sh

2
lgsm/functions/fix_glibc.sh

@ -11,7 +11,7 @@ local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
## i386
# libstdc++.so.6
local libstdc_servers_array=( "ARMA 3" "Blade Symphony" "Garry's Mod" "GoldenEye: Source" "Just Cause 2" "Team Fortress 2" )
local libstdc_servers_array=( "ARMA 3" "Blade Symphony" "Counter-Strike: Global Offensive" "Garry's Mod" "GoldenEye: Source" "Just Cause 2" "Team Fortress 2" )
for libstdc_server in "${libstdc_servers_array[@]}"
do
if [ "${gamename}" == "${libstdc_server}" ]; then

3
lgsm/functions/info_glibc.sh

@ -38,6 +38,9 @@ elif [ "${gamename}" == "Call of Duty: World at War" ]; then
elif [ "${gamename}" == "Codename CURE" ]; then
glibcrequired="2.15"
glibcfix="yes"
elif [ "${gamename}" == "Counter-Strike: Global Offensive" ]; then
glibcrequired="2.15"
glibcfix="yes"
elif [ "${gamename}" == "Day of Infamy" ]; then
glibcrequired="2.15"
glibcfix="yes"

Loading…
Cancel
Save