update_git_repositories.sh: add repository 'backup-rcopy'.

This commit is contained in:
Christoph 2020-09-04 21:58:26 +02:00
parent 0fa406b9c8
commit f0530827a0

View File

@ -110,5 +110,17 @@ for _git_base_dir in $GIT_BASE_DIRECTORIES ; do
done
done
if [[ -d "/root/crontab/backup-rcopy" ]]; then
echo ""
echononl " Update Repository /root/crontab/backup-rcopy.."
git -C "/root/crontab/backup-rcopy" pull > $log_file 2>&1
if [[ $? -eq 0 ]] ; then
echo_ok
else
echo_failed
error "$(cat $log_file)"
fi
fi
echo ""
clean_up