diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-06-14 22:15:19 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-06-14 22:15:19 +0000 |
commit | 70c3736eb701cf3c266225d7d84d8679af2b28ae (patch) | |
tree | 93fdf048e6d734e90365e715eaba330f19c8d961 /scripts/pkgorder | |
parent | 0f5ba0bab9fb7c174742844ac76fb835dac38029 (diff) | |
download | anaconda-70c3736eb701cf3c266225d7d84d8679af2b28ae.tar.gz anaconda-70c3736eb701cf3c266225d7d84d8679af2b28ae.tar.xz anaconda-70c3736eb701cf3c266225d7d84d8679af2b28ae.zip |
2006-06-14 Jeremy Katz <katzj@redhat.com>
* anaconda.spec: Bump version.
* scripts/pkgorder (addGroups): Only select groups which exist
Diffstat (limited to 'scripts/pkgorder')
-rwxr-xr-x | scripts/pkgorder | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/pkgorder b/scripts/pkgorder index 901081590..858a8c50b 100755 --- a/scripts/pkgorder +++ b/scripts/pkgorder @@ -95,8 +95,13 @@ def printMatchingPkgs(fpattern): print mname def addGroups(ds, groupLst): + def selGrp(ds, grp): + if not ds.comps.has_group(grp): + return + ds.selectGroup(grp) + ds.initActionTs() - map(ds.selectGroup, groupLst) + map(ds.selectGroup, filter(lambda x: ds.comps.has_group(x), groupLst)) ds.resolveDeps() processTransaction(ds) |