aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-28 17:25:07 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-28 17:25:07 +0000
commit091a57224f25f363df9325a3a0abb033b5facaca (patch)
tree6b805555c9fee5434b1379a22fc3ada19c08a320
parente3547320ec6e6ca51286f4766fc18e73e8013f90 (diff)
downloadrepoctl-091a57224f25f363df9325a3a0abb033b5facaca.tar
repoctl-091a57224f25f363df9325a3a0abb033b5facaca.tar.gz
repoctl-091a57224f25f363df9325a3a0abb033b5facaca.tar.bz2
repoctl-091a57224f25f363df9325a3a0abb033b5facaca.tar.xz
repoctl-091a57224f25f363df9325a3a0abb033b5facaca.zip
update hdlists MD5SUM only when mirroring
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index cee332b..0615249 100644
--- a/functions
+++ b/functions
@@ -75,7 +75,6 @@ function update_hdlists()
update_hdlist "$distribdir/$distrorelease/$arch/media/debug/$section/$sectionrepo"
done
update_hdlist "$distribdir/$distrorelease/SRPMS/$section/$sectionrepo"
- update_common_MD5SUM $distrorelease
}
function get_lock()
@@ -170,6 +169,7 @@ function update_common_MD5SUM()
function mirror_repository()
{
local distrorelease="$1"
+ update_common_MD5SUM "$distrorelease"
$dryrun /usr/bin/rsync $mirror_rsync_options "$distribdir/$distrorelease/" "$finaldistribdir/$distrorelease/"
}