From 07461bf7e1d68b4277fcd66f207a3a409532b3af Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 23 Feb 2019 22:26:08 +0000 Subject: [PATCH] fix(ts3server): corrected ts3arch if --- lgsm/functions/update_ts3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/update_ts3.sh b/lgsm/functions/update_ts3.sh index 66ce0ac09..5a98a87a7 100644 --- a/lgsm/functions/update_ts3.sh +++ b/lgsm/functions/update_ts3.sh @@ -10,7 +10,7 @@ local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" fn_update_ts3_dl(){ info_distro.sh - if [ "${ts3arch}" == "x86_64" ]; then + if [ "${ts3arch}" == "amd64" ]; then latestts3releaselink=$(${curlpath} -s 'https://www.teamspeak.com/versions/server.json' | jq -r '.linux.x86_64.mirrors."teamspeak.com"') elif [ "${ts3arch}" == "x86" ]; then latestts3releaselink=$(${curlpath} -s 'https://www.teamspeak.com/versions/server.json' | jq -r '.linux.x86.mirrors."teamspeak.com"')