update_git_repositories.sh: add repositors 'dehydrated-cron'.

This commit is contained in:
Christoph 2020-02-19 17:41:21 +01:00
parent 7e709e9a8e
commit 26a580b092

View File

@ -95,10 +95,10 @@ for _git_base_dir in $GIT_BASE_DIRECTORIES ; do
[[ ! -d "${_git_base_dir}/$_dir" ]] && continue
[[ ! -d "${_git_base_dir}/${_dir}/.git" ]] && continue
echononl " Update Repository ${_git_base_dir}/$(basename $_dir).."
if [[ "$_dir" = "dehydrated-cron" ]]; then
echo_skipped
warn "Update this repository manually, because username and password\n\t is needed."
else
#if [[ "$_dir" = "dehydrated-cron" ]]; then
# echo_skipped
# warn "Update this repository manually, because username and password\n\t is needed."
#else
git -C "${_git_base_dir}/${_dir}" pull > $log_file 2>&1
if [[ $? -eq 0 ]] ; then
echo_ok
@ -106,7 +106,7 @@ for _git_base_dir in $GIT_BASE_DIRECTORIES ; do
echo_failed
error "$(cat $log_file)"
fi
fi
#fi
done
done