summaryrefslogtreecommitdiffstats
path: root/comps.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-19 19:06:58 +0000
committerMatt Wilson <msw@redhat.com>1999-09-19 19:06:58 +0000
commit0b9542b1f63165f89c19d3bb511cd1d49abcf98e (patch)
tree4299e3571fdf2c2776983d85184bddc42ab3f8d7 /comps.py
parentdadf6329fb706a62ef46dc73bb31dd289f98d4c2 (diff)
downloadanaconda-0b9542b1f63165f89c19d3bb511cd1d49abcf98e.tar.gz
anaconda-0b9542b1f63165f89c19d3bb511cd1d49abcf98e.tar.xz
anaconda-0b9542b1f63165f89c19d3bb511cd1d49abcf98e.zip
more comps changes
Diffstat (limited to 'comps.py')
-rw-r--r--comps.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/comps.py b/comps.py
index 209219a8c..60d8c2d8c 100644
--- a/comps.py
+++ b/comps.py
@@ -111,6 +111,13 @@ class Component:
self.selected = 0
for n in self.items.keys ():
self.items[n].selected = 0
+ # always turn off conditional packages, regardless
+ # if the condition is met or not.
+ conds = self.conditional.keys ()
+ if conds:
+ for condition in conds:
+ for pkg in self.conditional[condition]:
+ pkg.selected = 0
if recurse:
for n in self.includes:
n.unselect(recurse)