Просмотр исходного кода

Altered script log message for extracting

Daniel Gibbs 9 лет назад
Родитель
Сommit
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}"
 	extractdir="${3}"
 	# extracts archives
 	# extracts archives
 	echo -ne "extracting ${filename}..."
 	echo -ne "extracting ${filename}..."
-	fn_script_log_info "Extracting download"
 	mime=$(file -b --mime-type "${filedir}/${filename}")
 	mime=$(file -b --mime-type "${filedir}/${filename}")
 
 
 	if [ "${mime}" == "application/gzip" ]||[ "${mime}" == "application/x-gzip" ]; then
 	if [ "${mime}" == "application/gzip" ]||[ "${mime}" == "application/x-gzip" ]; then
@@ -72,6 +71,7 @@ fn_dl_extract(){
 		core_exit.sh
 		core_exit.sh
 	else
 	else
 		fn_print_ok_eol_nl
 		fn_print_ok_eol_nl
+		fn_script_log_pass "Extracting download: OK"
 	fi
 	fi
 }
 }