Просмотр исходного кода

Revert "fix(ts3server): fix ability to update TS3 on older i686 arch. (#2367)" (#2381)

This reverts commit c4978b6ce8761dfb7554ab2ed7c8575c2987324a.
Daniel Gibbs 7 лет назад
Родитель
Сommit
ef13097175
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      lgsm/functions/update_ts3.sh

+ 2 - 2
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