Magellan Linux

Contents of /tags/installer-0_1_2/include/prepare_locale.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1072 - (show annotations) (download) (as text)
Mon May 31 22:52:06 2010 UTC (14 years ago) by niro
File MIME type: application/x-sh
File size: 289 byte(s)
tagged 'installer-0_1_2'
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