Download metadata when updating or adding new repos
cacheonly=1 was skipping downloading new metadata when a new source was added. Set it to 0 so that the update is immediate.
This commit is contained in:
parent
6444e16df9
commit
7e8245abcc
@ -120,4 +120,4 @@ def update_metadata(yb):
|
||||
r.mdpolicy = "group:all"
|
||||
yb.doRepoSetup()
|
||||
yb.repos.doSetup()
|
||||
yb.repos.populateSack(mdtype='all', cacheonly=1)
|
||||
yb.repos.populateSack(mdtype='all', cacheonly=0)
|
||||
|
Loading…
Reference in New Issue
Block a user