Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1078 by niro, Mon May 31 22:13:46 2010 UTC revision 1079 by niro, Mon Jun 28 17:36:52 2010 UTC
# Line 10  echo "LC_ALL=\"${LOCALE}\"" > ${INSTALL_ Line 10  echo "LC_ALL=\"${LOCALE}\"" > ${INSTALL_
10  # create locale  # create locale
11  sed -i "s:^#${LOCALE}:${LOCALE}:g" ${INSTALL_ROOT}/etc/locale.gen  sed -i "s:^#${LOCALE}:${LOCALE}:g" ${INSTALL_ROOT}/etc/locale.gen
12  chroot ${INSTALL_ROOT} locale-gen  chroot ${INSTALL_ROOT} locale-gen
13    chroot ${INSTALL_ROOT} env-rebuild
14    
15    # copy the correct tzdata
16    install -m0644 ${INSTALL_ROOT}/usr/share/zoneinfo/${TIMEZONE_REGION}/${TIMEZONE_LOCATION} ${INSTALL_ROOT}/etc/localtime

Legend:
Removed from v.1078  
changed lines
  Added in v.1079