Daniel Gibbs 6 лет назад
Родитель
Сommit
0a89292bb4
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      lgsm/functions/check_steamcmd.sh

+ 3 - 0
lgsm/functions/check_steamcmd.sh

@@ -47,6 +47,9 @@ fn_check_steamcmd(){
 	# Checks if SteamCMD exists when starting or updating a server.
 	# Checks if SteamCMD exists when starting or updating a server.
 	# Only install if steamcmd package is missing or steamcmd dir is missing.
 	# Only install if steamcmd package is missing or steamcmd dir is missing.
 	if [ ! -f "${steamcmddir}/steamcmd.sh" ]&&[ -z "$(command -v steamcmd 2>/dev/null)" ]; then
 	if [ ! -f "${steamcmddir}/steamcmd.sh" ]&&[ -z "$(command -v steamcmd 2>/dev/null)" ]; then
+		echo "#############"
+		which steamcmd
+		echo "#############"
 		if [ "${function_selfname}" == "command_install.sh" ]; then
 		if [ "${function_selfname}" == "command_install.sh" ]; then
 			fn_install_steamcmd
 			fn_install_steamcmd
 		else
 		else