summaryrefslogtreecommitdiffstats
path: root/installclasses/laptop.py
blob: 4074f86ea4753f5636d3469493dd7eccdfee71f7 (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-support.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)