summaryrefslogtreecommitdiffstats
path: root/installclasses/upgradeonly.py
blob: e1214678ed8231268733f2feae3002cbf6de2fa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from installclass import BaseInstallClass
from translate import N_
import os

class InstallClass(BaseInstallClass):
    name = "upgradeonly"
    pixmap = ""
    hidden = 1
    sortPriority = 1


    def requiredDisplayMode(self):
        return 't'
    
    def __init__(self, expert):
	BaseInstallClass.__init__(self)

        self.installType = "upgrade"

	self.addToSkipList("bootdisk")
	self.addToSkipList("language")
	self.addToSkipList("keyboard")
        self.addToSkipList("welcome")
        self.addToSkipList("package-selection")
        self.addToSkipList("lilo")
        self.addToSkipList("confirm-install")
        self.addToSkipList("custom-upgrade")
        self.addToSkipList("network")