aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-19 23:17:19 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-19 23:17:19 +0000
commitb7da855ab53225b529e0be5307adbd4fe833bd6c (patch)
treef3d83c3ab071dbeec472f73fff79d9a4d8a651c3
parentcc431727f1d63b3941f59992257180dbd9b1fb67 (diff)
downloadrepoctl-b7da855ab53225b529e0be5307adbd4fe833bd6c.tar
repoctl-b7da855ab53225b529e0be5307adbd4fe833bd6c.tar.gz
repoctl-b7da855ab53225b529e0be5307adbd4fe833bd6c.tar.bz2
repoctl-b7da855ab53225b529e0be5307adbd4fe833bd6c.tar.xz
repoctl-b7da855ab53225b529e0be5307adbd4fe833bd6c.zip
don't mirror if dryrun is set
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 33f9321..f43a6f9 100644
--- a/functions
+++ b/functions
@@ -143,7 +143,7 @@ function update_common_MD5SUM()
function mirror_repository()
{
distrorelease="$1"
- /usr/bin/rsync $mirror_rsync_options "$distribdir/$distrorelease/" "$finaldistribdir/$distrorelease/"
+ $dryrun /usr/bin/rsync $mirror_rsync_options "$distribdir/$distrorelease/" "$finaldistribdir/$distrorelease/"
}
function check_distro_section()