summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-02-24 18:41:32 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-02-24 18:41:32 +0000
commita20b3124141791d38b70690cff30102abf7c7e6d (patch)
treefa3adb949a5ee094c6b150888354b114b3460953
parent6ae12a51f2cd181d152326fa06e8ecfb3f2c531c (diff)
downloadanaconda-a20b3124141791d38b70690cff30102abf7c7e6d.tar.gz
anaconda-a20b3124141791d38b70690cff30102abf7c7e6d.tar.xz
anaconda-a20b3124141791d38b70690cff30102abf7c7e6d.zip
F*ck the line drawing characters! Or is this commit log supposed to be PG-13?
-rw-r--r--ChangeLog7
-rwxr-xr-xanaconda3
-rw-r--r--language.py2
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 40128825b..ac2006817 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-02-24 David Cantrell <dcantrell@redhat.com>
+
+ * anaconda: If running text mode installer and missing $LANG, set
+ it to en_US.UTF-8 before firing off intf.
+
+ * language.py (Language.fixLang): Extra safety net for LANG=C.
+
2006-02-24 Jeremy Katz <katzj@redhat.com>
* bootdisk/i386/options.msg: Be clearer about askmethod (#182535)
diff --git a/anaconda b/anaconda
index de4574fe1..ffbcb2ecc 100755
--- a/anaconda
+++ b/anaconda
@@ -1078,6 +1078,9 @@ if (display_mode == 't'):
if (display_mode == 'c'):
from cmdline import InstallInterface
+if display_mode == "t":
+ if not os.environ.has_key("LANG"):
+ os.environ["LANG"] = "en_US.UTF-8"
# go ahead and set up the interface
intf = InstallInterface ()
diff --git a/language.py b/language.py
index 0a49a63c9..3667a62cb 100644
--- a/language.py
+++ b/language.py
@@ -115,7 +115,7 @@ class Language:
def fixLang(self, langToFix):
ret = None
- if self.targetLang is not None:
+ if self.targetLang is not None or langToFix == "C":
return langToFix
if self.displayMode == "t":