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

This commit is contained in:
Fabio Erculiani 2011-10-31 14:08:17 +01:00
parent 3fa706b9e3
commit 6a8191df3e

View File

@ -346,6 +346,10 @@ equo rescue vacuum
# restore original repositories.conf (all mirrors were filtered for speed)
cp /etc/entropy/repositories.conf.example /etc/entropy/repositories.conf || exit 1
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
# cleanup log dir
rm /var/lib/entropy/logs -rf