update_git_repositories.sh: add repositors 'dehydrated-cron'.
This commit is contained in:
parent
7e709e9a8e
commit
26a580b092
@ -95,10 +95,10 @@ for _git_base_dir in $GIT_BASE_DIRECTORIES ; do
|
|||||||
[[ ! -d "${_git_base_dir}/$_dir" ]] && continue
|
[[ ! -d "${_git_base_dir}/$_dir" ]] && continue
|
||||||
[[ ! -d "${_git_base_dir}/${_dir}/.git" ]] && continue
|
[[ ! -d "${_git_base_dir}/${_dir}/.git" ]] && continue
|
||||||
echononl " Update Repository ${_git_base_dir}/$(basename $_dir).."
|
echononl " Update Repository ${_git_base_dir}/$(basename $_dir).."
|
||||||
if [[ "$_dir" = "dehydrated-cron" ]]; then
|
#if [[ "$_dir" = "dehydrated-cron" ]]; then
|
||||||
echo_skipped
|
# echo_skipped
|
||||||
warn "Update this repository manually, because username and password\n\t is needed."
|
# warn "Update this repository manually, because username and password\n\t is needed."
|
||||||
else
|
#else
|
||||||
git -C "${_git_base_dir}/${_dir}" pull > $log_file 2>&1
|
git -C "${_git_base_dir}/${_dir}" pull > $log_file 2>&1
|
||||||
if [[ $? -eq 0 ]] ; then
|
if [[ $? -eq 0 ]] ; then
|
||||||
echo_ok
|
echo_ok
|
||||||
@ -106,7 +106,7 @@ for _git_base_dir in $GIT_BASE_DIRECTORIES ; do
|
|||||||
echo_failed
|
echo_failed
|
||||||
error "$(cat $log_file)"
|
error "$(cat $log_file)"
|
||||||
fi
|
fi
|
||||||
fi
|
#fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user