Skip to content

Commit

Permalink
local: set metadata_expire to zero
Browse files Browse the repository at this point in the history
Fixes rpm-software-management#519

Signed-off-by: Robert Evans <[email protected]>
  • Loading branch information
rrevans committed Jun 24, 2024
1 parent a2ba5b2 commit 1dc112c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def pre_config(self):
local_repo = dnf.repo.Repo("_dnf_local", self.base.conf)
local_repo.baseurl = "file://{}".format(self.main["repodir"])
local_repo.cost = 500
local_repo.metadata_expire = 0
local_repo.skip_if_unavailable = True
self.base.repos.add(local_repo)

Expand Down

0 comments on commit 1dc112c

Please sign in to comment.