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

hides checking for update in installer

Daniel Gibbs 10 лет назад
Родитель
Сommit
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