1 from installclass import BaseInstallClass
2 from rhpl.translate import N_
3 from constants import *
7 # custom installs are easy :-)
8 class InstallClass(BaseInstallClass):
9 # name has underscore used for mnemonics, strip if you dont need it
11 name = N_("PLD Linux")
13 description = N_("Select this installation type to gain complete "
14 "control over the installation process, including "
15 "software package selection and partitioning.")
21 (N_("Office and Productivity"), ["kde_graphics", "kde_koffice", "kde_multimedia", "gnome_office"]),
22 (N_("Software Development"), ["devel", "devel_extras", "java", "kde_devel"]),
23 (N_("Web server"), ["apache1_base", "apache_base"])
26 def setInstallData(self, id, intf = None):
27 BaseInstallClass.setInstallData(self, id)
28 BaseInstallClass.setDefaultPartitioning(self, id.partitions,
31 def setGroupSelection(self, backend, intf):
32 grps = backend.getDefaultGroups()
33 map(lambda x: backend.selectGroup(x), grps)
35 def __init__(self, expert):
36 BaseInstallClass.__init__(self, expert)