Daniel Gibbs 10 ani în urmă
părinte
comite
ebbd32387a
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      functions/check_steamcmd.sh

+ 3 - 1
functions/check_steamcmd.sh

@@ -33,7 +33,9 @@ else
 	steamcmddir="${rootdir}/steamcmd"
 	steamcmddir="${rootdir}/steamcmd"
 	if [ ! -f "${steamcmddir}/steamcmd.sh" ]; then
 	if [ ! -f "${steamcmddir}/steamcmd.sh" ]; then
 		fn_printwarnnl "SteamCMD is missing"
 		fn_printwarnnl "SteamCMD is missing"
-		fn_scriptlog "SteamCMD is missing"
+		if [ -d "${scriptlogdir}" ]; then
+			fn_scriptlog "SteamCMD is missing"
+		fi	
 		sleep 1
 		sleep 1
 		if [ ! -d "${steamcmddir}" ]; then
 		if [ ! -d "${steamcmddir}" ]; then
 			mkdir -v "${steamcmddir}"
 			mkdir -v "${steamcmddir}"