aboutsummaryrefslogtreecommitdiff
path: root/data/defaultsatlists.xml
blob: 132b427c12e1947ea68391af91fda43691cce523 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<wizard>
	<step id="startdefaultlists" nextstep="nothingtoinstall">
		<condition>
packagelist = self.fillPackagesList()
self.runWizard = (len(packagelist) > 0)
self.condition = self.runWizard
		</condition>
		<text value="Please choose the default services lists you want to install." />
		<!--list type="dynamic" source="listDefaults" evaluation="selectionMade" /-->
		<config type="dynamic" source="getConfigList" evaluation="selectionMade" />
		<code pos="after">
self.disableKeys = True
		</code>
	</step>
	<step id="nopackages" nextstep="finisheddefaultsatlists">
		<text value="There are no default services lists in your image." />
	</step>
	
	<step id="nothingtoinstall" nextstep="finisheddefaultsatlists">
		<condition>
if self.runWizard:
	self.condition = True
	for x in self.packagesConfig:
		if x.value:
			self.condition = False
			break
else:
	self.condition = False
		</condition>
		<text value="You chose not to install any default services lists." />
		<!--list type="dynamic" source="listDefaults" evaluation="selectionMade" /-->
		<code>
self.disableKeys = False
		</code>
	</step>
	
	<step id="install" nextstep="finisheddefaultsatlists">
		<condition>
self.condition = False
if self.runWizard:
	for x in self.packagesConfig:
		if x.value:
			self.condition = True
			break 
		</condition>
		<code>
self.disableKeys = True			
self.installPackages(self.indexList)
		</code>
		<text value="Installing default sat lists... Please wait..." />
	</step>
	
	<step id="finisheddefaultsatlists">
		<condition>
self.markDone()
self.condition = False
		</condition>
	</step>
</wizard>