mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
hooks/pkglint: forbid Debianised zsh path
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934926
This commit is contained in:
parent
84e5bcb60c
commit
b4ab931668
1 changed files with 8 additions and 0 deletions
|
@ -104,6 +104,14 @@ hook() {
|
||||||
error=1
|
error=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d ${PKGDESTDIR}/usr/share/zsh/vendor-functions ]; then
|
||||||
|
msg_red "${pkgver}: /usr/share/zsh/vendor-functions is forbidden. Use /usr/share/zsh/site-functions.\n"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d ${PKGDESTDIR}/usr/share/zsh/vendor-completions ]; then
|
||||||
|
msg_red "${pkgver}: /usr/share/zsh/vendor-completions is forbidden. Use /usr/share/zsh/site-functions.\n"
|
||||||
|
fi
|
||||||
|
|
||||||
# Prevent packages from installing to these paths in etc, they should use
|
# Prevent packages from installing to these paths in etc, they should use
|
||||||
# their equivalent in usr/lib
|
# their equivalent in usr/lib
|
||||||
for f in udev/{rules.d,hwdb.d} modprobe.d sysctl.d; do
|
for f in udev/{rules.d,hwdb.d} modprobe.d sysctl.d; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue