|
@@ -40,10 +40,12 @@ if [ -n "${functionsdir}" ]; then
|
|
|
function_file_diff=$(diff "${functionsdir}/${functionfile}" <(${curlcmd} -s "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${functionfile}"))
|
|
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
|
|
if [ "${function_file_diff}" != "" ]; then
|
|
|
fn_print_update_eol_nl
|
|
fn_print_update_eol_nl
|
|
|
|
|
+ fn_script_log_pass "${functionfile}: UPDATE"
|
|
|
rm -rf "${functionsdir}/${functionfile}"
|
|
rm -rf "${functionsdir}/${functionfile}"
|
|
|
fn_update_function
|
|
fn_update_function
|
|
|
else
|
|
else
|
|
|
fn_print_ok_eol_nl
|
|
fn_print_ok_eol_nl
|
|
|
|
|
+ fn_script_log_pass "${functionfile}: NO UPDATE"
|
|
|
fi
|
|
fi
|
|
|
done
|
|
done
|
|
|
fi
|
|
fi
|