summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-01-15 21:40:31 +0000
committerChris Lumens <clumens@redhat.com>2007-01-15 21:40:31 +0000
commit8d60cd6e1a90a44f630aa7145c8993699fd086fc (patch)
tree89c70ec6e1ec39ae8ce0c73eed56618a4d883808
parent8866cd9fe63821221dac0d5a4184a083b1af0226 (diff)
downloadanaconda-8d60cd6e1a90a44f630aa7145c8993699fd086fc.tar.gz
anaconda-8d60cd6e1a90a44f630aa7145c8993699fd086fc.tar.xz
anaconda-8d60cd6e1a90a44f630aa7145c8993699fd086fc.zip
Don't display the unsupported language message box in non-interactive kickstart
installs (#222096).
-rw-r--r--ChangeLog5
-rw-r--r--text.py14
2 files changed, 14 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index cc641e69b..cc8ae66c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-15 Chris Lumens <clumens@redhat.com>
+
+ * text.py (InstallInterface.run): Don't display the unsupported
+ language message box in non-interactive kickstart installs (#222096).
+
2007-01-15 Dave Lehman <dlehman@redhat.com>
* yuminstall.py (doPostSelection): don't pop the depsolver progress
diff --git a/text.py b/text.py
index ed4cf231d..5ea885705 100644
--- a/text.py
+++ b/text.py
@@ -505,11 +505,15 @@ class InstallInterface:
instLang = anaconda.id.instLanguage
if instLang.getFontFile(instLang.getCurrent()) == "none":
- ButtonChoiceWindow(self.screen, "Language Unavailable",
- "%s display is unavailable in text mode. "
- "The installation will continue in "
- "English." % (instLang.getCurrent(),),
- buttons=[TEXT_OK_BUTTON])
+ if self.anaconda.isKickstart and not self.anaconda.id.instClass.ksdata.interactive:
+ log.warning("%s display is unavailable in text mode. The "
+ "installation will continue in English.")
+ else:
+ ButtonChoiceWindow(self.screen, "Language Unavailable",
+ "%s display is unavailable in text mode. "
+ "The installation will continue in "
+ "English." % (instLang.getCurrent(),),
+ buttons=[TEXT_OK_BUTTON])
self.screen.helpCallback(self.helpWindow)