Răsfoiți Sursa

Updated fn_printokeol to fn_printokeolnl

Daniel Gibbs 10 ani în urmă
părinte
comite
cec75582c3
2 a modificat fișierele cu 8 adăugiri și 8 ștergeri
  1. 1 1
      functions/check_steamcmd.sh
  2. 7 7
      functions/core_dl.sh

+ 1 - 1
functions/check_steamcmd.sh

@@ -54,7 +54,7 @@ if [ ! -f "${steamcmddir}/steamcmd.sh" ]; then
 	fi
 elif [ "${function_selfname}" == "command_install.sh" ]; then
 	fn_printinfomation "SteamCMD is already installed..."
-	fn_printokeol	
+	fn_printokeolnl
 fi
 }
 

+ 7 - 7
functions/core_dl.sh

@@ -18,7 +18,7 @@ if [ -n "${md5}" ]; then
 	sleep 1
 	local md5sumcmd=$(md5sum "${filedir}/${filename}"|awk '{print $1;}')
 	if [ "${md5sumcmd}" != "${md5}" ]; then
-		fn_printfaileol
+		fn_printfaileolnl
 		echo "${filename} returned MD5 checksum: ${md5sumcmd}"
 		echo "expected MD5 checksum: ${md5}"
 		fn_scriptlog "failed to verify ${filename} with MD5"
@@ -26,7 +26,7 @@ if [ -n "${md5}" ]; then
 		fn_scriptlog "expected MD5 checksum: ${md5}"
 		exit 1	
 	else
-		fn_printokeol
+		fn_printokeolnl
 		fn_scriptlog "verifyed ${filename} with MD5"
 		fn_scriptlog "${filename} returned MD5 checksum: ${md5sumcmd}"
 		fn_scriptlog "expected MD5 checksum: ${md5}"		
@@ -49,11 +49,11 @@ elif [ "${mime}" == "application/x-bzip2" ]; then
 fi
 local exitcode=$?
 if [ ${exitcode} -ne 0 ]; then
-	fn_printfaileol
+	fn_printfaileolnl
 	echo "${tarcmd}"
 	exit ${exitcode}
 else
-	fn_printokeol
+	fn_printokeolnl
 fi
 }
 
@@ -108,17 +108,17 @@ if [ ! -f "${filedir}/${filename}" ]; then
 		fi
 		local exitcode=$?
 		if [ ${exitcode} -ne 0 ]; then
-			fn_printfaileol
+			fn_printfaileolnl
 			echo "${curlcmd}"
 			echo -e "${fileurl}\n"
 			exit ${exitcode}
 		else
-			fn_printokeol
+			fn_printokeolnl
 		fi
 		# remove trap
 		trap - INT	
 	else
-		fn_printfaileol
+		fn_printfaileolnl
 		echo "Curl is not installed!"
 		echo -e ""
 		exit 1