[PC-BSD Commits] r6087 - pcbsd/trunk/pc-sysinstall/backend

svn at pcbsd.org svn at pcbsd.org
Fri Jan 29 08:16:43 PST 2010


Author: kris
Date: 2010-01-29 08:16:43 -0800 (Fri, 29 Jan 2010)
New Revision: 6087

Modified:
   pcbsd/trunk/pc-sysinstall/backend/functions-localize.sh
Log:

Fixed bug in localization, forgot to change en_US in login.conf to correct
locale



Modified: pcbsd/trunk/pc-sysinstall/backend/functions-localize.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-localize.sh	2010-01-29 16:00:27 UTC (rev 6086)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-localize.sh	2010-01-29 16:16:43 UTC (rev 6087)
@@ -8,7 +8,8 @@
 # Function which localizes a FreeBSD install
 localize_freebsd()
 {
-
+  sed -i.bak "s/lang=en_US/lang=${LOCALE}/g" ${FSMNT}/etc/login.conf
+  rm ${FSMNT}/etc/login.conf.bak
 };
 
 



More information about the Commits mailing list