Explorar el Código

added modulename

Daniel Gibbs hace 10 años
padre
commit
56e5a1f03b
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      lgsm/functions/command_update_functions.sh

+ 2 - 1
lgsm/functions/command_update_functions.sh

@@ -6,6 +6,7 @@ lgsm_version="210516"
 
 # Description: Deletes the functions dir to allow re-downloading of functions from GitHub.
 
+local modulename="Updating LGSM"
 function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 check.sh
 fn_print_dots "Updating functions"
@@ -40,7 +41,7 @@ if [ -n "${functionsdir}" ]; then
 			function_file_diff=$(diff "${functionsdir}/${functionfile}" <(${curlcmd} -s "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${functionfile}"))
 			if [ "${function_file_diff}" != "" ]; then
 				fn_print_update_eol_nl
-				fn_script_log_pass "${functionfile}: UPDATE"
+				fn_script_log_info "checking ${functionfile}: UPDATE"
 				rm -rf "${functionsdir}/${functionfile}"
 				fn_update_function
 			else