The sysconfdir is for host specific configuration files, and this example script makes no host specific change (it is not enabled by default).
Install the script under portage's sharedir, from where administrators can copy it into sysconfdir, if needed. Signed-off-by: Daniel Cordero <gentoo.port...@0xdc.io> --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 549fff650..fe0265c64 100755 --- a/setup.py +++ b/setup.py @@ -833,12 +833,12 @@ setup( ["$portage_setsdir", ["cnf/sets/portage.conf"]], ["$docdir", ["NEWS", "RELEASE-NOTES"]], ["$portage_base/bin", ["bin/deprecated-path"]], - ["$sysconfdir/portage/repo.postsync.d", ["cnf/repo.postsync.d/example"]], + ["$portage_confdir/repo.postsync.d", ["cnf/repo.postsync.d/example"]], ], [ ("etc", "cnf", ("etc-update.conf", "dispatch-conf.conf")), ("etc/logrotate.d", "cnf/logrotate.d", ("elog-save-summary",)), - ("etc/portage/repo.postsync.d", "cnf/repo.postsync.d", ("example",)), + ("share/portage/config/repo.postsync.d", "cnf/repo.postsync.d", ("example",)), ( "share/portage/config", "cnf", -- 2.32.0