diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-10-07 12:30:30 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-10-07 12:30:30 -0500 |
commit | a336e5a91cf54d8b5c800ad304db7d11059dbf1f (patch) | |
tree | 2bfc952543bf1b5a9fa27e0215c631075c34accd | |
parent | 192b24f829953ff2bb0e86ac6bdc686b42d9f0b8 (diff) | |
download | devtools32-a336e5a91cf54d8b5c800ad304db7d11059dbf1f.tar.xz |
Generate current locale in new chroots by default
This is a slightly hackish way of auto-filling locale information based on the
locale at the time of chroot building.
Further locale changes must be done manually.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-x | mkarchroot | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -136,6 +136,10 @@ else ldconfig -r "${working_dir}" fi + echo "generating default locales" + sed -i "s|^#\(.*$LANG\)|\1|g" /etc/locale.gen + locale-gen + if [ ! -e "${working_dir}/.arch-chroot" ]; then date +%s > "${working_dir}/.arch-chroot" fi |