Sfoglia il codice sorgente

Added fn_install_ts3 to installer

Daniel Gibbs 11 anni fa
parent
commit
8f674c9f21
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      functions/fn_install

+ 5 - 5
functions/fn_install

@@ -2,7 +2,7 @@
 # LGSM fn_install function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
-# Version: 060315
+# Version: 190515
 
 fn_check_root
 fn_install_header
@@ -15,12 +15,12 @@ if [ "${gamename}" == "Unreal Tournament 2004" ]; then
 	fn_install_ut2k4filesdl
 	fn_install_ut2k4
 	fn_install_ut2k4key
-fi
-if [ "${gamename}" == "Unreal Tournament 99" ]; then
+elif [ "${gamename}" == "Unreal Tournament 99" ]; then
 	fn_install_ut99filesdl
 	fn_install_ut99
-fi
-if [ ! -z "${appid}" ]; then
+elif [ "${gamename}" == "Teamspeak 3" ]; then
+	fn_install_ts3
+elif [ ! -z "${appid}" ]; then
 	fn_install_steamcmd
 	fn_install_serverfiles
 	fn_install_steamfix