|
|
@ -8,6 +8,8 @@ local commandname="FIX" |
|
|
|
local commandaction="Fix" |
|
|
|
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" ) |
|
|
|
for libstdc_server in "${libstdc_servers_array[@]}" |
|
|
@ -45,3 +47,23 @@ do |
|
|
|
done |
|
|
|
|
|
|
|
export LD_LIBRARY_PATH=:"${libdir}" |
|
|
|
|
|
|
|
## amd64 |
|
|
|
|
|
|
|
# libm.so.6 |
|
|
|
local libm_servers_array=( "Factorio" ) |
|
|
|
for libm_server in "${libm_servers_array[@]}" |
|
|
|
do |
|
|
|
if [ "${gamename}" == "${libm_server}" ]; then |
|
|
|
fn_fetch_file_github "lgsm/lib/ubuntu12.04/amd64" "libm.so.6" "${lgsmdir}/lib" "noexecutecmd" "norun" "noforce" "nomd5" |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
|
|
# libc.so.6 |
|
|
|
local libm_servers_array=( "Factorio" ) |
|
|
|
for libc_server in "${libc_servers_array[@]}" |
|
|
|
do |
|
|
|
if [ "${gamename}" == "${libc_server}" ]; then |
|
|
|
fn_fetch_file_github "lgsm/lib/ubuntu12.04/amd64" "libc.so.6" "${lgsmdir}/lib" "noexecutecmd" "norun" "noforce" "nomd5" |
|
|
|
fi |
|
|
|
done |