فهرست منبع

Merge branch 'hotfix/180318.1' into develop

Daniel Gibbs 8 سال پیش
والد
کامیت
94c308d10a
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      lgsm/functions/update_ts3.sh

+ 5 - 1
lgsm/functions/update_ts3.sh

@@ -218,6 +218,10 @@ else
 	fn_script_log_info "Checking for update: teamspeak.com"
 	sleep 1
 	fn_update_ts3_currentbuild
-	fn_update_ts3_availablebuild
+	if [ "$(command -v jq >/dev/null 2>&1)" ]; then
+		fn_update_ts3_availablebuild
+	else
+		fn_update_ts3_availablebuild_legacy
+	fi
 	fn_update_ts3_compare
 fi