aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Nemo <cnemo@tutanota.com>2019-06-23 14:49:35 +0000
committerLeah Neukirchen <chneukirchen@gmail.com>2019-06-23 15:17:22 +0000
commit206a4a73f54154264dd0d5aa14461fcca0dbb09b (patch)
tree48435a335e209c7f48ac5923e8516e9a538361aa
parent4e0b07333df1aca79e1010bd7aa8d65598ccbf5d (diff)
downloadvoid-packages-206a4a73f54154264dd0d5aa14461fcca0dbb09b.tar
void-packages-206a4a73f54154264dd0d5aa14461fcca0dbb09b.tar.gz
void-packages-206a4a73f54154264dd0d5aa14461fcca0dbb09b.tar.bz2
void-packages-206a4a73f54154264dd0d5aa14461fcca0dbb09b.tar.lz
void-packages-206a4a73f54154264dd0d5aa14461fcca0dbb09b.tar.xz
void-packages-206a4a73f54154264dd0d5aa14461fcca0dbb09b.tar.zst
void-packages-206a4a73f54154264dd0d5aa14461fcca0dbb09b.zip
99-pkglint.sh: prevent installing files in /destdir
Signed-off-by: Cameron Nemo <cnemo@tutanota.com>
-rw-r--r--common/hooks/pre-pkg/99-pkglint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index 45a380c3747..7ae183ae8e8 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -19,7 +19,7 @@ hook() {
error=1
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
msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
error=1