99-pkglint.sh: prevent installing files in /destdir
Signed-off-by: Cameron Nemo <cnemo@tutanota.com>
This commit is contained in:
parent
4e0b07333d
commit
206a4a73f5
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ hook() {
|
||||||
error=1
|
error=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for f in sys dev home root run var/run tmp usr/lib64 usr/local; do
|
for f in sys dev home root run var/run tmp usr/lib64 usr/local destdir; do
|
||||||
if [ -d ${PKGDESTDIR}/${f} ]; then
|
if [ -d ${PKGDESTDIR}/${f} ]; then
|
||||||
msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
|
msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
|
||||||
error=1
|
error=1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue