diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-01-31 22:37:02 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-01-31 22:37:02 +0000 |
commit | 834f912aec84f12e0c4a5619b3b1ed113af9df85 (patch) | |
tree | 3bb4d7b31a14b1cb60202a254bb7a4e5e7f66688 /language.py | |
parent | 7ef9a4cb1f3eebcb4911155231e6cfbe5c8462ff (diff) | |
download | anaconda-834f912aec84f12e0c4a5619b3b1ed113af9df85.tar.gz anaconda-834f912aec84f12e0c4a5619b3b1ed113af9df85.tar.xz anaconda-834f912aec84f12e0c4a5619b3b1ed113af9df85.zip |
set our language to be the runtime language for stage2 and not the lang nick. this fixes the nfs/cd cjk text mode being Bad (tm). ridiculous that such a small patch required so much time to track down (#82533)
Diffstat (limited to 'language.py')
-rw-r--r-- | language.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/language.py b/language.py index 4685333ea..2698c199d 100644 --- a/language.py +++ b/language.py @@ -162,6 +162,10 @@ class InstallTimeLanguage: self.setRuntimeDefaults(name) lang = self.langNicks[name] + for (runtime, main) in self.runtimeLangs.items(): + if main == lang: + lang = runtime + os.environ["LANG"] = lang os.environ["LC_NUMERIC"] = 'C' try: |