From 356f4fa7219da0efc5a7e94c992e812ca476e5c8 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Mon, 31 Oct 2011 14:01:12 +0100 Subject: [PATCH] [scripts] inner_chroot_script: copy repositories.conf.d/* example config back to non-example files --- scripts/inner_chroot_script.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/inner_chroot_script.sh b/scripts/inner_chroot_script.sh index 818b595..ed1b805 100755 --- a/scripts/inner_chroot_script.sh +++ b/scripts/inner_chroot_script.sh @@ -88,6 +88,10 @@ emaint --fix world # copy entropy repositories config # the one in chroots is optimized to use Garr mirror cp /etc/entropy/repositories.conf.example /etc/entropy/repositories.conf -p +for repo_conf in /etc/entropy/repositories.conf.d/entropy_*.example; do + new_repo_conf="${repo_conf%.example}" + cp "${repo_conf}" "${new_repo_conf}" +done # copy Portage config from sabayonlinux.org entropy repo to system cp /var/lib/entropy/client/database/*/sabayonlinux.org/standard/*/*/package.mask /etc/portage/package.mask