Skip to content

Commit

Permalink
Turn metadata_expire off for yum-cron.
Browse files Browse the repository at this point in the history
  • Loading branch information
james-antill committed Apr 23, 2013
1 parent 445aa76 commit 913a7f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions yum-cron/yum-cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,10 @@ def acquireLock(self):

def populateUpdateMetadata(self):
"""Populate the metadata for the packages in the update."""

for repo in base.repos.findRepos('*'):
repo.metadata_expire = 0

self.upinfo

def refreshUpdates(self):
Expand Down

0 comments on commit 913a7f6

Please sign in to comment.