Daniel Gibbs 10 лет назад
Родитель
Сommit
62a07a4a02
3 измененных файлов с 9 добавлено и 9 удалено
  1. 6 6
      lgsm/functions/core_dl.sh
  2. 2 2
      lgsm/functions/fix.sh
  3. 1 1
      lgsm/functions/install_logs.sh

+ 6 - 6
lgsm/functions/core_dl.sh

@@ -28,15 +28,15 @@ fn_dl_md5(){
 			fn_print_fail_eol_nl
 			echo "${filename} returned MD5 checksum: ${md5sumcmd}"
 			echo "expected MD5 checksum: ${md5}"
-			fn_script_log_fatal "verifying ${filename} with MD5: FAIL"
+			fn_script_log_fatal "Verifying ${filename} with MD5: FAIL"
 			fn_script_log_info "${filename} returned MD5 checksum: ${md5sumcmd}"
-			fn_script_log_info "expected MD5 checksum: ${md5}"
+			fn_script_log_info "Expected MD5 checksum: ${md5}"
 			exit 1
 		else
 			fn_print_ok_eol_nl
-			fn_script_log_pass "verifying ${filename} with MD5: OK"
+			fn_script_log_pass "Verifying ${filename} with MD5: OK"
 			fn_script_log_info "${filename} returned MD5 checksum: ${md5sumcmd}"
-			fn_script_log_info "expected MD5 checksum: ${md5}"
+			fn_script_log_info "Expected MD5 checksum: ${md5}"
 		fi
 	fi
 }
@@ -51,7 +51,7 @@ fn_dl_extract(){
 	extractdir="${3}"
 	# extracts archives
 	echo -ne "extracting ${filename}..."
-	fn_script_log_info "extracting download"
+	fn_script_log_info "Extracting download"
 	mime=$(file -b --mime-type "${filedir}/${filename}")
 
 	if [ "${mime}" == "application/gzip" ]||[ "${mime}" == "application/x-gzip" ]; then
@@ -62,7 +62,7 @@ fn_dl_extract(){
 	local exitcode=$?
 	if [ ${exitcode} -ne 0 ]; then
 		fn_print_fail_eol_nl
-		fn_script_log_fatal "extracting download: FAIL"
+		fn_script_log_fatal "Extracting download: FAIL"
 		echo "${tarcmd}" | tee -a "${scriptlog}"
 		core_exit.sh
 	else

+ 2 - 2
lgsm/functions/fix.sh

@@ -19,11 +19,11 @@ fn_fix_msg_start(){
 fn_fix_msg_end(){
 	if [ $? -ne 0 ]; then
 		fn_print_fail_nl "Applying ${fixname} fix: ${gamename}"
-		fn_script_log_error "Failure! Applying ${fixname} fix: ${gamename}"
+		fn_script_log_error "Applying ${fixname} fix: ${gamename}"
 		exitcode=2
 	else
 		fn_print_ok_nl "Applying ${fixname} fix: ${gamename}"
-		fn_script_log_pass "Complete! Applying ${fixname} fix: ${gamename}"
+		fn_script_log_pass "Applying ${fixname} fix: ${gamename}"
 	fi
 }
 

+ 1 - 1
lgsm/functions/install_logs.sh

@@ -40,4 +40,4 @@ if [ -d "${rootdir}/Steam/logs" ]; then
 	fi
 fi
 sleep 1
-fn_script_log_info "logs installed"
+fn_script_log_info "Logs installed"