Magellan Linux

Contents of /trunk/installer/include/prepare_locale.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1067 - (show annotations) (download) (as text)
Mon May 31 22:13:46 2010 UTC (13 years, 11 months ago) by niro
File MIME type: application/x-sh
File size: 289 byte(s)
-typo
1 #!/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 ${INSTALL_ROOT} locale-gen

Properties

Name Value
svn:keywords Id