summaryrefslogtreecommitdiffstats
path: root/mkarchroot
diff options
context:
space:
mode:
Diffstat (limited to 'mkarchroot')
-rwxr-xr-xmkarchroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkarchroot b/mkarchroot
index 2bb3413..dbe8344 100755
--- a/mkarchroot
+++ b/mkarchroot
@@ -168,7 +168,7 @@ else
cp /etc/resolv.conf "${working_dir}/etc/resolv.conf"
echo "generating default locales"
- sed -i "s|^#\(.*$LANG\)|\1|g" "${working_dir}/etc/locale.gen"
+ cp /etc/locale.gen "${working_dir}/etc/locale.gen"
chroot "${working_dir}" locale-gen
if [ ! -e "${working_dir}/.arch-chroot" ]; then