[scripts] inner_chroot_script: copy repositories.conf.d/* example config back to non-example files

This commit is contained in:
Fabio Erculiani 2011-10-31 14:01:12 +01:00
parent 92ec7fe4f6
commit 356f4fa721

View File

@ -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