summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-17 18:38:47 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-17 18:38:47 +0200
commit1418bfbf42103fd687bd8a3fc9c8806b8ff56bf4 (patch)
tree60ac67e8a3c434417359cd5774e5fb1f23af1787
parentf1c05d870ba8422d02a8ab4179c00e8b694a7d70 (diff)
downloaddevtools-1418bfbf42103fd687bd8a3fc9c8806b8ff56bf4.tar.gz
devtools-1418bfbf42103fd687bd8a3fc9c8806b8ff56bf4.tar.xz
Use default locale instead of copying from host
Use en_US.UTF-8 and de_DE.UTF-8 by default (the latter is needed for some packages like gcc)
-rwxr-xr-xmkarchroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkarchroot b/mkarchroot
index fa0dca5..b7249a4 100755
--- a/mkarchroot
+++ b/mkarchroot
@@ -172,7 +172,7 @@ if [ "$RUN" != "" ]; then
fi
if [ -e "${working_dir}/etc/locale.gen" ]; then
- cp /etc/locale.gen "${working_dir}/etc/locale.gen"
+ echo -e 'en_US.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8' > "${working_dir}/etc/locale.gen"
chroot "${working_dir}" locale-gen
fi