Browse Source

fix(ts3server): re-add support for libmariadb2 (#2114)

* fix(ts3server): re-add support for libmariadb2 #1924
pull/2115/head
Daniel Gibbs 6 years ago
committed by GitHub
parent
commit
9bc5458898
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      lgsm/functions/core_functions.sh
  2. 2
      lgsm/functions/fix.sh
  3. 14
      lgsm/functions/fix_ts3.sh

5
lgsm/functions/core_functions.sh

@ -378,6 +378,11 @@ functionfile="${FUNCNAME}"
fn_fetch_function
}
fix_ts3.sh(){
functionfile="${FUNCNAME}"
fn_fetch_function
}
fix_ut2k4.sh(){
functionfile="${FUNCNAME}"
fn_fetch_function

2
lgsm/functions/fix.sh

@ -60,6 +60,8 @@ if [ "${function_selfname}" != "command_install.sh" ]&&[ -z "${fixbypass}" ]; th
fix_rw.sh
elif [ "${shortname}" == "ss3" ]; then
fix_ss3.sh
elif [ "${shortname}" == "ts3" ]; then
fix_ts3.sh
elif [ "${shortname}" == "mta" ]; then
fix_mta.sh
elif [ "${shortname}" == "wurm" ]; then

14
lgsm/functions/fix_ts3.sh

@ -0,0 +1,14 @@
#!/bin/bash
# LinuxGSM fix_ts3.sh function
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Description: Resolves various issues with Teamspeak 3.
local commandname="FIX"
local commandaction="Fix"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
# Fixes: makes libmariadb2 available #1924
if [ ! -f "${serverfiles}/libmariadb.so.2" ]; then
ln -s "${serverfiles}/redist/libmariadb.so.2" "${serverfiles}/libmariadb.so.2"
fi
Loading…
Cancel
Save