summaryrefslogtreecommitdiffstats
path: root/installclasses/laptop.py
blob: 6e141530e62d05d6bceedbc4fb55b63e4602beef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import workstation
from translate import N_
import os
import pcmcia

class InstallClass(workstation.InstallClass):
    name = N_("Laptop")
    pixmap = "laptop-class.png"

    sortPriority = 5000
    arch = 'i386'

    def setGroupSelection(self, comps):
	workstation.InstallClass.__init__(self, comps)
	comps["Laptop Support"].select()

    if pcmcia.pcicType():
	default = 1

    def __init__(self, expert):
	workstation.InstallClass.__init__(self, expert)