[PATCH 14/16] If we're not given a language on the command line, set up English.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a DVD-based install if we don't do this, then we get to python without
any locale having been built.  This appears to be mostly harmless except
for a scary looking message on tty1.
---
 loader/loader.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 79c1b8c..992e023 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2072,8 +2072,10 @@ int main(int argc, char ** argv) {
     mlLoadModule("spufs", NULL);
 #endif
 
-    if (loaderData.lang && (loaderData.lang_set == 1)) {
+    if (loaderData.lang && loaderData.lang_set == 1) {
         setLanguage(loaderData.lang, 1);
+    } else {
+        setLanguage("en_US.UTF-8", 1);
     }
 
     /* FIXME: this is a bit of a hack */
-- 
1.7.4.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux