mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
pkglint: forbid /usr/lib/libexec
This commit is contained in:
parent
88a30a7f0e
commit
22054be835
1 changed files with 9 additions and 0 deletions
|
@ -29,6 +29,15 @@ hook() {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ -d ${PKGDESTDIR}/usr/lib/libexec ]; then
|
||||||
|
# Add exception for kconfig,
|
||||||
|
# other packages hard-coded path to its files
|
||||||
|
if [ "${pkgname}" != kconfig ]; then
|
||||||
|
msg_red "${pkgver}: /usr/lib/libexec directory is not allowed!\n"
|
||||||
|
error=1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
for f in "$PKGDESTDIR"/*; do
|
for f in "$PKGDESTDIR"/*; do
|
||||||
f="${f##*/}"
|
f="${f##*/}"
|
||||||
case "$f" in
|
case "$f" in
|
||||||
|
|
Loading…
Add table
Reference in a new issue