Annotation of /trunk/installer/include/prepare_locale.sh
Parent Directory | Revision Log
Revision 1066 -
(hide annotations)
(download)
(as text)
Mon May 31 22:13:13 2010 UTC (14 years, 3 months ago) by niro
File MIME type: application/x-sh
File size: 288 byte(s)
Mon May 31 22:13:13 2010 UTC (14 years, 3 months ago) by niro
File MIME type: application/x-sh
File size: 288 byte(s)
-setup the local too
1 | niro | 1066 | #!/bin/bash |
2 | # $Id$ | ||
3 | |||
4 | : ${INSTALL_ROOT="/mnt/magellan"} | ||
5 | |||
6 | # setup locale | ||
7 | install -d ${INSTALL_ROOT}/etc/env.d | ||
8 | echo "LC_ALL=\"${LOCALE}\"" > ${INSTALL_ROOT}/etc/env.d/01locale | ||
9 | |||
10 | # create locale | ||
11 | sed -i "s:^#${LOCALE}:${LOCALE}:g" ${INSTALL_ROOT}/etc/locale.gen | ||
12 | chroot ${CDCHROOTDIR} locale-gen |
Properties
Name | Value |
---|---|
svn:keywords | Id |