diff --git a/update_git_repositories.sh b/update_git_repositories.sh index 8073beb..615b564 100755 --- a/update_git_repositories.sh +++ b/update_git_repositories.sh @@ -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