diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-10-28 17:26:50 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-10-28 17:26:50 +0000 |
commit | 0526dbdae627fbafcfb3c895b7206a7c982c7e05 (patch) | |
tree | 612c0ad8ce15cbbff0028b6f3677f605dde85ad9 | |
parent | 091a57224f25f363df9325a3a0abb033b5facaca (diff) | |
download | repoctl-0526dbdae627fbafcfb3c895b7206a7c982c7e05.tar repoctl-0526dbdae627fbafcfb3c895b7206a7c982c7e05.tar.gz repoctl-0526dbdae627fbafcfb3c895b7206a7c982c7e05.tar.bz2 repoctl-0526dbdae627fbafcfb3c895b7206a7c982c7e05.tar.xz repoctl-0526dbdae627fbafcfb3c895b7206a7c982c7e05.zip |
lock before mirroring
-rw-r--r-- | functions | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -169,8 +169,10 @@ function update_common_MD5SUM() function mirror_repository() { local distrorelease="$1" + get_distro_lock "$distrorelease" update_common_MD5SUM "$distrorelease" $dryrun /usr/bin/rsync $mirror_rsync_options "$distribdir/$distrorelease/" "$finaldistribdir/$distrorelease/" + rm_distro_lock "$distrorelease" } function check_distro_section() |