Skip to content

Commit

Permalink
mrepo: relax RHEL6 comps glob to match CentOS comps as well (see GH-19)
Browse files Browse the repository at this point in the history
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
  • Loading branch information
zyv committed Aug 9, 2011
1 parent 110cf35 commit 648e42a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrepo
Expand Up @@ -443,7 +443,7 @@ class Dist:
os_components = (
glob.glob(pathjoin(self.dir + '/disc1/*/base/comps.xml')) + # RHEL 4
glob.glob(pathjoin(self.dir + '/disc1/*/repodata/comps-*-core.xml')) + # RHEL 5
glob.glob(pathjoin(self.dir + '/disc1/repodata/*-comps-*.xml')) # RHEL 6
glob.glob(pathjoin(self.dir + '/disc1/repodata/*-comps*.xml')) # RHEL 6 / CentOS 6
)

for file in os_components:
Expand Down

0 comments on commit 648e42a

Please sign in to comment.