diff options
author | Jason Chu <jchu@xentac.net> | 2007-11-03 09:57:26 -0700 |
---|---|---|
committer | Jason Chu <jchu@xentac.net> | 2007-11-03 09:57:26 -0700 |
commit | b528eba02852fa1182e7b4c7636d969729c0aaf2 (patch) | |
tree | 8e8383597c6303ce9dd58a6e950c8da051542411 | |
parent | 7bb2c48c8f30a49ea37312ce8c03afe8a6ada073 (diff) | |
download | devtools-b528eba02852fa1182e7b4c7636d969729c0aaf2.tar.xz |
Install the custom pacman.conf in the chroot so that it can be used for later updates
-rwxr-xr-x | mkarchroot | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |