commit: 407d13b706c82378341de158803cfcb1011b790d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 25 11:24:50 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 25 11:24:50 2025 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=407d13b7
DeprecatedInsinto: add path for shell completion & systemd
Since this check was written, there are some new helpers that improve
the handling of installing into correct paths. This commit adds them.
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgcheck/checks/codingstyle.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/pkgcheck/checks/codingstyle.py
b/src/pkgcheck/checks/codingstyle.py
index 20628481..257fb9db 100644
--- a/src/pkgcheck/checks/codingstyle.py
+++ b/src/pkgcheck/checks/codingstyle.py
@@ -368,7 +368,11 @@ class InsintoCheck(Check):
"/etc/env.d": "doenvd or newenvd",
"/etc/init.d": "doinitd or newinitd",
"/etc/pam.d": "dopamd or newpamd from pam.eclass",
+ "/usr/lib/systemd/system": "systemd_dounit or systemd_newunit from
systemd.eclass",
+ "/usr/lib/systemd/user": "systemd_douserunit or
systemd_newuserunit from systemd.eclass",
"/usr/share/applications": "domenu or newmenu from desktop.eclass",
+ "/usr/share/fish/vendor_completions.d": "dofishcomp or newfishcomp
from shell-completion.eclass",
+ "/usr/share/zsh/site-functions": "dozshcomp or newzshcomp from
shell-completion.eclass",
}
)