Sfoglia il codice sorgente

hides checking for update in installer

Daniel Gibbs 10 anni fa
parent
commit
21a9b95c62
1 ha cambiato i file con 6 aggiunte e 4 eliminazioni
  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(){
 fn_update_ts3_currentbuild(){
 	# Gets currentbuild info
 	# Gets currentbuild info
@@ -168,11 +165,16 @@ fn_update_ts3_compare(){
 	fi
 	fi
 }
 }
 
 
+
 fn_update_ts3_arch
 fn_update_ts3_arch
 if [ "${installer}" == "1" ]; then
 if [ "${installer}" == "1" ]; then
 	fn_update_ts3_availablebuild
 	fn_update_ts3_availablebuild
 	fn_update_ts3_dl
 	fn_update_ts3_dl
 else
 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_currentbuild
 	fn_update_ts3_availablebuild
 	fn_update_ts3_availablebuild
 	fn_update_ts3_compare
 	fn_update_ts3_compare