mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
hooks/99-pkglint.sh: error if /usr/share/man/man/ is used
This commit is contained in:
parent
b27de826e4
commit
ccd0dc07e0
1 changed files with 5 additions and 0 deletions
|
@ -108,6 +108,11 @@ hook() {
|
|||
error=1
|
||||
fi
|
||||
|
||||
if [[ -d ${PKGDESTDIR}/usr/share/man/man ]]; then
|
||||
msg_red "${pkgver}: /usr/share/man/man is forbidden, use /usr/share/man.\n"
|
||||
error=1
|
||||
fi
|
||||
|
||||
if [ -d ${PKGDESTDIR}/usr/doc ]; then
|
||||
msg_red "${pkgver}: /usr/doc is forbidden. Use /usr/share/doc.\n"
|
||||
error=1
|
||||
|
|
Loading…
Add table
Reference in a new issue