Skip to content

Commit

Permalink
fix logic on reposync-newest-only option
Browse files Browse the repository at this point in the history
  • Loading branch information
knackaron committed Sep 27, 2011
1 parent f16824c commit 429a022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrepo
Expand Up @@ -1469,7 +1469,7 @@ def mirrorreposync(url, path, reponame):
opts = opts + ' --urls'
if cf.reposynccleanup:
opts = opts + ' --delete'
if not cf.reposyncnewestonly:
if cf.reposyncnewestonly:
opts = opts + ' --newest-only'

# store a temporary YUM config to use with reposync
Expand Down

0 comments on commit 429a022

Please sign in to comment.