[scripts] image_generic_inner_chroot_script_after: copy repositories.conf.d/* example config back to non-example files
This commit is contained in:
parent
356f4fa721
commit
d857901cc8
@ -66,6 +66,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
|
||||
|
Loading…
Reference in New Issue
Block a user