summaryrefslogtreecommitdiff
path: root/mkarchroot
diff options
context:
space:
mode:
Diffstat (limited to 'mkarchroot')
-rwxr-xr-xmkarchroot5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkarchroot b/mkarchroot
index 7434453..c0cb587 100755
--- a/mkarchroot
+++ b/mkarchroot
@@ -148,6 +148,11 @@ else
ldconfig -r "${working_dir}"
fi
+ if [ "$pac_conf" != "" ]; then
+ echo "installing custom pacman.conf"
+ cp ${pac_conf} ${working_dir}/etc/pacman.conf
+ fi
+
echo "generating default locales"
sed -i "s|^#\(.*$LANG\)|\1|g" "${working_dir}/etc/locale.gen"
chroot "${working_dir}" locale-gen