update_git_repositories.sh: add repository 'backup-rcopy'.
This commit is contained in:
parent
0fa406b9c8
commit
f0530827a0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user