Re: [PATCH] Install example repo.postsync.d script into sharedir
Zac Medico <[email protected]> Mon, 8 Nov 2021 14:49:06 -0800
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <[email protected]> |
On 11/4/21 02:50, Daniel Cordero wrote: > 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 <[email protected]> > --- > 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", > Merged, thanks! https://gitweb.gentoo.org/proj/portage.git/commit/?id=b7dc908a99e564de6f10174b1489028d939b917f -- Thanks, Zac