diff --git a/lgsm/functions/fix_mta.sh b/lgsm/functions/fix_mta.sh index af4d5002f..236a2336b 100644 --- a/lgsm/functions/fix_mta.sh +++ b/lgsm/functions/fix_mta.sh @@ -4,7 +4,7 @@ # Contributor: ChaosMTA # Website: https://linuxgsm.com # Description: Installs the libmysqlclient for database functions on the server -local modulename="FIX" +local commandname="FIX" local commandaction="Fix" local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")") @@ -15,5 +15,3 @@ if [ ! -f "${lgsmdir}/lib/libmysqlclient.so.16" ]; then fn_fetch_file "https://nightly.mtasa.com/files/modules/64/libmysqlclient.so.16" "${lgsmdir}/lib" "libmysqlclient.so.16" "chmodx" "norun" "noforce" "6c188e0f8fb5d7a29f4bc413b9fed6c2" fn_fix_msg_end fi - -export LD_LIBRARY_PATH=:"${libdir}" diff --git a/linuxgsm.sh b/linuxgsm.sh index 6668b32be..ccfccbce0 100755 --- a/linuxgsm.sh +++ b/linuxgsm.sh @@ -32,7 +32,6 @@ lgsmlogdir="${logdir}/lgsm" steamcmddir="${rootdir}/steamcmd" serverfiles="${rootdir}/serverfiles" functionsdir="${lgsmdir}/functions" -libdir="${lgsmdir}/lib" tmpdir="${lgsmdir}/tmp" datadir="${lgsmdir}/data" serverlist="${datadir}/serverlist.csv" diff --git a/tests/tests_fctrserver.sh b/tests/tests_fctrserver.sh index 89fdf939a..67008f883 100644 --- a/tests/tests_fctrserver.sh +++ b/tests/tests_fctrserver.sh @@ -32,7 +32,6 @@ lgsmlogdir="${logdir}/lgsm" steamcmddir="${rootdir}/steamcmd" serverfiles="${rootdir}/serverfiles" functionsdir="${lgsmdir}/functions" -libdir="${lgsmdir}/lib" tmpdir="${lgsmdir}/tmp" datadir="${lgsmdir}/data" serverlist="${datadir}/serverlist.csv" diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh index 9facae8cb..949509814 100644 --- a/tests/tests_jc2server.sh +++ b/tests/tests_jc2server.sh @@ -32,7 +32,6 @@ lgsmlogdir="${logdir}/lgsm" steamcmddir="${rootdir}/steamcmd" serverfiles="${rootdir}/serverfiles" functionsdir="${lgsmdir}/functions" -libdir="${lgsmdir}/lib" tmpdir="${lgsmdir}/tmp" datadir="${lgsmdir}/data" serverlist="${datadir}/serverlist.csv" diff --git a/tests/tests_mcserver.sh b/tests/tests_mcserver.sh index cb8083d40..9e8bf266c 100644 --- a/tests/tests_mcserver.sh +++ b/tests/tests_mcserver.sh @@ -32,7 +32,6 @@ lgsmlogdir="${logdir}/lgsm" steamcmddir="${rootdir}/steamcmd" serverfiles="${rootdir}/serverfiles" functionsdir="${lgsmdir}/functions" -libdir="${lgsmdir}/lib" tmpdir="${lgsmdir}/tmp" datadir="${lgsmdir}/data" serverlist="${datadir}/serverlist.csv" diff --git a/tests/tests_ts3server.sh b/tests/tests_ts3server.sh index 192bb3524..a9527b68b 100644 --- a/tests/tests_ts3server.sh +++ b/tests/tests_ts3server.sh @@ -32,7 +32,6 @@ lgsmlogdir="${logdir}/lgsm" steamcmddir="${rootdir}/steamcmd" serverfiles="${rootdir}/serverfiles" functionsdir="${lgsmdir}/functions" -libdir="${lgsmdir}/lib" tmpdir="${lgsmdir}/tmp" datadir="${lgsmdir}/data" serverlist="${datadir}/serverlist.csv"