Explorar o código

fix(install): correct shortname vars

Daniel Gibbs %!s(int64=7) %!d(string=hai) anos
pai
achega
759fdf5665
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lgsm/functions/install_server_files.sh

+ 2 - 2
lgsm/functions/install_server_files.sh

@@ -124,7 +124,7 @@ fn_install_server_files_steamcmd(){
 }
 
 echo ""
-echo "Installing ${shortname} Server"
+echo "Installing ${gamename} Server"
 echo "================================="
 sleep 0.5
 
@@ -145,7 +145,7 @@ elif [ "${shortname}" == "fctr" ]; then
   update_factorio.sh
   install_factorio_save.sh
 elif [ -z "${appid}" ]||[ "${shortname}" == "ges" ]||[ "${shortname}" == "bd" ]||[ "${shortname}" == "bb" ]||[ "${shortname}" == "ns" ]||[ "${shortname}" == "vs" ]; then
-	if [ "${shortname}" == "Unreal Tournament" ]; then
+	if [ "${shortname}" == "ut" ]; then
 		install_unreal_tournament_eula.sh
 	fi
 	fn_install_server_files