Browse Source

added update eol

pull/914/head
Daniel Gibbs 9 years ago
parent
commit
b2d72dd1ae
  1. 1
      lgsm/functions/command_update_functions.sh

1
lgsm/functions/command_update_functions.sh

@ -39,6 +39,7 @@ if [ -n "${functionsdir}" ]; then
echo -ne " checking ${functionfile}...\c"
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_update_function
else
fn_print_ok_eol_nl

Loading…
Cancel
Save