Daniel Gibbs 10 лет назад
Родитель
Сommit
6dc274dddf
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/functions/command_update_functions.sh

+ 1 - 1
lgsm/functions/command_update_functions.sh

@@ -38,7 +38,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
-				#${curlcmd} -s --fail -o "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${functionfile}"
+				${curlcmd} -s --fail -o "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${functionfile}"
 				local exitcode=$?
 				if [ "${exitcode}" != "0" ]; then
 					fn_print_fail_eol_nl