summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'text.py')
-rw-r--r--text.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/text.py b/text.py
index 3ecfb7153..ddee3ac9c 100644
--- a/text.py
+++ b/text.py
@@ -436,8 +436,12 @@ class InstallInterface:
id.fsset.registerMessageWindow(self.messageWindow)
id.fsset.registerProgressWindow(self.progressWindow)
id.fsset.registerWaitWindow(self.waitWindow)
- id.instLanguage.setSupported([id.instLanguage.getDefault()])
- parted.exception_set_handler(self.partedExceptionWindow)
+
+ # Don't set if kickstart already set up a supported lang list.
+ if not id.instLanguage.getSupported():
+ id.instLanguage.setSupported([id.instLanguage.getDefault()])
+
+ parted.exception_set_handler(self.partedExceptionWindow)
lastrc = INSTALL_OK
(step, args) = dispatch.currentStep()