Daniel Gibbs 2 anni fa
parent
commit
e0405972e0

+ 2 - 3
lgsm/modules/install_complete.sh

@@ -8,7 +8,7 @@
 moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 
 echo -e ""
-echo -e "================================="
+echo -e "${bold}=================================${default}"
 
 if [ "${exitcode}" == "1" ]; then
 	echo -e "Install Failed!"
@@ -24,9 +24,8 @@ elif [ -z "${exitcode}" ] || [ "${exitcode}" == "0" ]; then
 	fn_script_log_pass "Install Complete!"
 fi
 
-fn_script_log_info "Install Complete!"
 echo -e ""
-echo -e "To start server type:"
+echo -e "To start the ${gamename} server type:"
 echo -e "./${selfname} start"
 echo -e ""
 core_exit.sh

+ 4 - 4
lgsm/modules/install_config.sh

@@ -41,7 +41,7 @@ fn_default_config_remote() {
 	fn_check_cfgdir
 	for config in "${array_configs[@]}"; do
 		# every config is copied
-		echo -en "copying config file [ ${italic}${config}${default} ]"
+		echo -en "copying config file [ ${italic}${servercfgfullpath}${default} ]"
 		if [ "${config}" == "${servercfgdefault}" ]; then
 			mkdir -p "${servercfgdir}"
 			cp -nv "${lgsmdir}/config-default/config-game/${config}" "${servercfgfullpath}"
@@ -57,10 +57,10 @@ fn_default_config_remote() {
 		fi
 		if [ "$?" -ne 0 ]; then # shellcheck disable=SC2181
 			fn_print_failure_eol_nl
-			fn_script_log_fatal "copying config file ${servercfg}."
+			fn_script_log_fatal "copying config file ${servercfgfullpath}"
 		else
 			fn_print_ok_eol_nl
-			fn_script_log_pass "copying config file ${servercfg}."
+			fn_script_log_pass "copying config file ${servercfgfullpath}"
 		fi
 	done
 }
@@ -175,7 +175,7 @@ fn_list_config_locations() {
 			echo -e "${gamename} config: ${italic}${red}${servercfgfullpath}${default} (${red}CONFIG IS MISSING${default})"
 		fi
 	fi
-	echo -e "LinuxGSM config: ${italic}${lgsmdir}/config-lgsm/${gameservername{default}}"
+	echo -e "LinuxGSM config: ${italic}${lgsmdir}/config-lgsm/${gameservername}${default}"
 	echo -e "Config documentation: ${italic}https://docs.linuxgsm.com/configuration{default}"
 }
 

+ 3 - 3
lgsm/modules/install_stats.sh

@@ -8,8 +8,8 @@
 moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 
 echo -e ""
-echo -e "${lightyellow}LinuxGSM Stats${default}"
-echo -e "================================="
+echo -e "${bold}${lightyellow}LinuxGSM Stats${default}"
+echo -e "${bold}=================================${default}"
 fn_sleep_time
 echo -e "Assist LinuxGSM development by sending anonymous stats to developers."
 echo -e "More info: https://docs.linuxgsm.com/configuration/linuxgsm-stats"
@@ -24,5 +24,5 @@ if [ -z "${autoinstall}" ]; then
 		fn_print_information_nl "Stats setting is now enabled in common.cfg."
 	fi
 else
-	fn_print_information_nl "auto-install leaves stats off by default. Stats can be enabled in common.cfg"
+	echo -e "auto-install leaves stats off by default. Stats can be enabled in common.cfg"
 fi