summaryrefslogtreecommitdiffstats
path: root/installclasses/upgradeonly.py
blob: 7eee77a49eb0c0cc10c777533f41b621411b936a (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 setSteps(self, dispatch):
	dispatch.setStepList(
		    "mouse",
		    "installtype",
		    "addswap",
		    "dependencies",
		    "monitor",
		    "install",
		    "complete"
		)
    
    def __init__(self, expert):
	BaseInstallClass.__init__(self)

        self.installType = "upgrade"