* [gentoo-portage-dev] [PATCH] Install example repo.postsync.d script into sharedir
@ 2021-11-04 9:50 Daniel Cordero
2021-11-08 22:49 ` Zac Medico
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Cordero @ 2021-11-04 9:50 UTC (permalink / raw
To: gentoo-portage-dev
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@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [gentoo-portage-dev] [PATCH] Install example repo.postsync.d script into sharedir
2021-11-04 9:50 [gentoo-portage-dev] [PATCH] Install example repo.postsync.d script into sharedir Daniel Cordero
@ 2021-11-08 22:49 ` Zac Medico
0 siblings, 0 replies; 2+ messages in thread
From: Zac Medico @ 2021-11-08 22:49 UTC (permalink / raw
To: gentoo-portage-dev, Daniel Cordero
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 <gentoo.portage@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",
>
Merged, thanks!
https://gitweb.gentoo.org/proj/portage.git/commit/?id=b7dc908a99e564de6f10174b1489028d939b917f
--
Thanks,
Zac
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-08 22:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-04 9:50 [gentoo-portage-dev] [PATCH] Install example repo.postsync.d script into sharedir Daniel Cordero
2021-11-08 22:49 ` Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox