summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-03-16 19:39:47 +0000
committerMatt Wilson <msw@redhat.com>2001-03-16 19:39:47 +0000
commit05bed76b448d676bebb6d2e780fe14b974f76db2 (patch)
treee836eda7f6eb6121ccf99761eddaa67a1087f4ac
parent7cb4da1ffe4f75f9914a71b67764148a5dd80f37 (diff)
downloadanaconda-05bed76b448d676bebb6d2e780fe14b974f76db2.tar.gz
anaconda-05bed76b448d676bebb6d2e780fe14b974f76db2.tar.xz
anaconda-05bed76b448d676bebb6d2e780fe14b974f76db2.zip
only turn on an X server if the XFree86 package is also going to be installed (#31773)
-rw-r--r--todo.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index ed69ca8a4..72852527f 100644
--- a/todo.py
+++ b/todo.py
@@ -1697,7 +1697,10 @@ class ToDo:
self.hdList['krbafs'].selected = 1
self.hdList['krb5-libs'].selected = 1
- if self.x.server and not self.x.server == "XFree86":
+ if (self.x.server
+ and self.hdList.packages.has_key('XFree86')
+ and self.hdList.packages['XFree86'].selected
+ and self.x.server != "XFree86"):
# trim off the XF86_
try:
self.selectPackage ('XFree86-' + self.x.server[5:])