commit: b7dc908a99e564de6f10174b1489028d939b917f
Author: Daniel Cordero <gentoo.portage <AT> 0xdc <DOT> io>
AuthorDate: Thu Nov 4 09:50:02 2021 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Nov 8 22:46:02 2021 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=b7dc908a
Install example repo.postsync.d script into sharedir
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.portage <AT> 0xdc.io>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
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",