[scripts] remaster_generic_inner_chroot_script_after: copy repositories.conf.d/* example config back to non-example files
This commit is contained in:
parent
3fa706b9e3
commit
6a8191df3e
@ -346,6 +346,10 @@ equo rescue vacuum
|
|||||||
|
|
||||||
# restore original repositories.conf (all mirrors were filtered for speed)
|
# restore original repositories.conf (all mirrors were filtered for speed)
|
||||||
cp /etc/entropy/repositories.conf.example /etc/entropy/repositories.conf || exit 1
|
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
|
# cleanup log dir
|
||||||
rm /var/lib/entropy/logs -rf
|
rm /var/lib/entropy/logs -rf
|
||||||
|
Loading…
Reference in New Issue
Block a user