소스 검색

hides checking for update in installer

Daniel Gibbs 10 년 전
부모
커밋
21a9b95c62
1개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  1. 6 4
      lgsm/functions/update_ts3.sh

+ 6 - 4
lgsm/functions/update_ts3.sh

@@ -22,10 +22,7 @@ fn_update_ts3_dl(){
 }
 
 
-# Checks for server update from teamspeak.com using a mirror dl.4players.de.
-fn_print_dots "Checking for update: teamspeak.com"
-fn_script_log_info "Checking for update: teamspeak.com"
-sleep 1
+
 
 fn_update_ts3_currentbuild(){
 	# Gets currentbuild info
@@ -168,11 +165,16 @@ fn_update_ts3_compare(){
 	fi
 }
 
+
 fn_update_ts3_arch
 if [ "${installer}" == "1" ]; then
 	fn_update_ts3_availablebuild
 	fn_update_ts3_dl
 else
+	# Checks for server update from teamspeak.com using a mirror dl.4players.de.
+	fn_print_dots "Checking for update: teamspeak.com"
+	fn_script_log_info "Checking for update: teamspeak.com"
+	sleep 1
 	fn_update_ts3_currentbuild
 	fn_update_ts3_availablebuild
 	fn_update_ts3_compare