Преглед изворни кода

Altered script log message for extracting

Daniel Gibbs пре 9 година
родитељ
комит
23030d8e0e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lgsm/functions/core_dl.sh

+ 1 - 1
lgsm/functions/core_dl.sh

@@ -54,7 +54,6 @@ fn_dl_extract(){
 	extractdir="${3}"
 	# extracts archives
 	echo -ne "extracting ${filename}..."
-	fn_script_log_info "Extracting download"
 	mime=$(file -b --mime-type "${filedir}/${filename}")
 
 	if [ "${mime}" == "application/gzip" ]||[ "${mime}" == "application/x-gzip" ]; then
@@ -72,6 +71,7 @@ fn_dl_extract(){
 		core_exit.sh
 	else
 		fn_print_ok_eol_nl
+		fn_script_log_pass "Extracting download: OK"
 	fi
 }