From 23fa2924d5322d820f0357691f7e2961eb4b01a0 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 29 Sep 2023 10:16:08 +0100 Subject: [PATCH] ui changes --- lgsm/modules/core_steamcmd.sh | 4 ++-- lgsm/modules/install_config.sh | 5 +++-- lgsm/modules/install_stats.sh | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lgsm/modules/core_steamcmd.sh b/lgsm/modules/core_steamcmd.sh index 6a7b25c111..6ef98d3d6f 100644 --- a/lgsm/modules/core_steamcmd.sh +++ b/lgsm/modules/core_steamcmd.sh @@ -51,8 +51,8 @@ fn_check_steamcmd() { fn_install_steamcmd fi elif [ "${commandname}" == "INSTALL" ]; then - fn_print_information "SteamCMD is already installed..." - fn_print_ok_eol_nl + echo -e "SteamCMD is already installed" + fn_print_skip_eol_nl fi } diff --git a/lgsm/modules/install_config.sh b/lgsm/modules/install_config.sh index 758e56440f..931fb5bca9 100644 --- a/lgsm/modules/install_config.sh +++ b/lgsm/modules/install_config.sh @@ -11,10 +11,10 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" fn_check_cfgdir() { changes="" if [ "${shortname}" == "dst" ]; then - echo -en "creating config directory [ ${italic}${clustercfgfullpath}${default} ]" + echo -en "creating config directory [ ${italic}${clustercfgdir}${default} ]" changes+=$(mkdir -pv "${clustercfgfullpath}") elif [ "${shortname}" == "arma3" ]; then - echo -en "creating config directory [ ${italic}${networkcfgfullpath}${default} ]" + echo -en "creating config directory [ ${italic}${networkcfgdir}${default} ]" changes+=$(mkdir -pv "${networkcfgfullpath}") else echo -en "creating config directory [ ${italic}${servercfgdir}${default} ]" @@ -30,6 +30,7 @@ fn_check_cfgdir() { else fn_print_skip_eol_nl fi + unset changes } # Copys default configs from Game-Server-Configs repo to server config location. diff --git a/lgsm/modules/install_stats.sh b/lgsm/modules/install_stats.sh index 69419be852..8b184fb7b6 100644 --- a/lgsm/modules/install_stats.sh +++ b/lgsm/modules/install_stats.sh @@ -24,5 +24,6 @@ if [ -z "${autoinstall}" ]; then fn_print_information_nl "Stats setting is now enabled in common.cfg." fi else + echo -e "" echo -e "auto-install leaves stats off by default. Stats can be enabled in common.cfg" fi