diff options
author | Mike Fulbright <msf@redhat.com> | 2002-07-31 00:42:45 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-07-31 00:42:45 +0000 |
commit | dc33b950c545c30e7872dd58664f8088545cd44b (patch) | |
tree | eb40ff3155caac122292066c5b7357c0982dd469 /image.py | |
parent | 6919ce27faac2e2f261a473e86739a4480e5bd5c (diff) | |
download | anaconda-dc33b950c545c30e7872dd58664f8088545cd44b.tar.gz anaconda-dc33b950c545c30e7872dd58664f8088545cd44b.tar.xz anaconda-dc33b950c545c30e7872dd58664f8088545cd44b.zip |
get comps.xml from multiple sources
Diffstat (limited to 'image.py')
-rw-r--r-- | image.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,7 +29,8 @@ from rhpl.translate import _ class ImageInstallMethod(InstallMethod): def readCompsViaMethod(self, hdlist): - return ComponentSet(self.tree + '/RedHat/base/comps.xml', hdlist) + fname = self.findBestFileMatch(self.tree, 'comps.xml') + return ComponentSet(fname, hdlist) def getFilename(self, h, timer): return self.tree + "/RedHat/RPMS/" + h[1000000] |