diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-02-24 18:41:32 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-02-24 18:41:32 +0000 |
commit | a20b3124141791d38b70690cff30102abf7c7e6d (patch) | |
tree | fa3adb949a5ee094c6b150888354b114b3460953 | |
parent | 6ae12a51f2cd181d152326fa06e8ecfb3f2c531c (diff) | |
download | anaconda-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-- | ChangeLog | 7 | ||||
-rwxr-xr-x | anaconda | 3 | ||||
-rw-r--r-- | language.py | 2 |
3 files changed, 11 insertions, 1 deletions
@@ -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) @@ -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": |