summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-06-27 23:33:46 +0000
committerJeremy Katz <katzj@redhat.com>2002-06-27 23:33:46 +0000
commitbf43e5d6d7ca0286ccccf5c03538359c323607a9 (patch)
tree742c8d3190c03765efcd32fb1aa5a1a91a2ac237 /installclasses
parenta09fa1f306f1b563bd715deb30bb4bc8a6318f02 (diff)
downloadanaconda-bf43e5d6d7ca0286ccccf5c03538359c323607a9.tar.gz
anaconda-bf43e5d6d7ca0286ccccf5c03538359c323607a9.tar.xz
anaconda-bf43e5d6d7ca0286ccccf5c03538359c323607a9.zip
work with new comps file stuff
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/workstation.py31
1 files changed, 30 insertions, 1 deletions
diff --git a/installclasses/workstation.py b/installclasses/workstation.py
index c8556c37a..a049dcb9a 100644
--- a/installclasses/workstation.py
+++ b/installclasses/workstation.py
@@ -12,13 +12,42 @@ class InstallClass(BaseInstallClass):
sortPriority = 1
+ # FIXME: THIS IS A HORRIBLE HACK AND MUST GO AWAY
+ def selectDependentHiddenGroups(self, id):
+ BaseInstallClass.selectDependentHiddenGroups(self, id)
+ if id.comps["GNOME Desktop Environment"].isSelected():
+ log("GNOME was selected, adding necessary components")
+ id.comps["GNOME Office/Productivity Software"].select()
+ id.comps["GNOME Multimedia Software"].select()
+ id.comps["GNOME Messaging and Web Tools"].select()
+ if id.comps["Games and Entertainment"].isSelected():
+ id.comps["GNOME Games and Entertainment"].select()
+ if id.comps["Software Development"].isSelected():
+ id.comps["GNOME Software Development"].select()
+
+ if id.comps["KDE Desktop Environment"].isSelected():
+ log("KDE was selected, adding necessary components")
+ id.comps["KDE Office/Productivity Software"].select()
+ id.comps["KDE Multimedia Software"].select()
+ id.comps["KDE Messaging and Web Tools"].select()
+ if id.comps["Games and Entertainment"].isSelected():
+ id.comps["KDE Games and Entertainment"].select()
+ if id.comps["Software Development"].isSelected():
+ id.comps["KDE Software Development"].select()
+
+ if id.comps["Games and Entertainment"].isSelected():
+ id.comps["X Based Games and Entertainment"].select()
+ if id.comps["Software Development"].isSelected():
+ id.comps["X Software Development"].select()
+
def setSteps(self, dispatch):
BaseInstallClass.setSteps(self, dispatch);
dispatch.skipStep("authentication")
def setGroupSelection(self, comps):
BaseInstallClass.__init__(self, comps)
- self.showGroups(comps, [ "KDE", ("GNOME", 1),
+ self.showGroups(comps, [ "KDE Desktop Environment",
+ ("GNOME Desktop Environment", 1),
"Software Development",
"Games and Entertainment" ] )
comps["Workstation Common"].select()