hooks/99-pkglint.sh: error out if /usr/usr path is used
This commit is contained in:
parent
f4ab31d2ef
commit
02fb37373b
|
@ -103,6 +103,11 @@ hook() {
|
|||
error=1
|
||||
fi
|
||||
|
||||
if [ -d ${PKGDESTDIR}/usr/usr ]; then
|
||||
msg_red "${pkgver}: /usr/usr is forbidden, use /usr.\n"
|
||||
error=1
|
||||
fi
|
||||
|
||||
if [ -d ${PKGDESTDIR}/usr/man ]; then
|
||||
msg_red "${pkgver}: /usr/man is forbidden, use /usr/share/man.\n"
|
||||
error=1
|
||||
|
|
Loading…
Reference in New Issue