From ef130971753144de3eca3f98c91538df1606ae37 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 9 Jun 2019 00:21:26 +0100 Subject: [PATCH] Revert "fix(ts3server): fix ability to update TS3 on older i686 arch. (#2367)" (#2381) This reverts commit c4978b6ce8761dfb7554ab2ed7c8575c2987324a. --- lgsm/functions/update_ts3.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/functions/update_ts3.sh b/lgsm/functions/update_ts3.sh index bef15b53b..31a015e6e 100644 --- a/lgsm/functions/update_ts3.sh +++ b/lgsm/functions/update_ts3.sh @@ -103,9 +103,9 @@ fn_update_ts3_localbuild(){ fn_update_ts3_remotebuild(){ # Gets remote build info. - if [ "${ts3arch}" == "x86_64" ]; then + if [ "${arch}" == "x86_64" ]; then remotebuild="$(${curlpath} -s "https://www.teamspeak.com/versions/server.json" | jq -r '.linux.x86_64.version')" - elif [ "${ts3arch}" == "x86" ]; then + elif [ "${arch}" == "x86" ]; then remotebuild="$(${curlpath} -s "https://www.teamspeak.com/versions/server.json" | jq -r '.linux.x86.version')" fi if [ "${installer}" != "1" ]; then