From dcdbcbf30a8ce7dbd7666d6bb2e265ebbea8cd98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Tue, 4 Aug 2020 22:28:14 +0200 Subject: [PATCH] 11-pkglint-elf-in-usrshare: disallow x-executable Can be allowed per-package now --- common/hooks/post-install/11-pkglint-elf-in-usrshare.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/hooks/post-install/11-pkglint-elf-in-usrshare.sh b/common/hooks/post-install/11-pkglint-elf-in-usrshare.sh index bd0a4f25725..a665f3ed94d 100644 --- a/common/hooks/post-install/11-pkglint-elf-in-usrshare.sh +++ b/common/hooks/post-install/11-pkglint-elf-in-usrshare.sh @@ -29,8 +29,9 @@ hook() { file="${f%:*}" file="${file#${PKGDESTDIR}}" case "${mime}" in - # Note application/x-executable is missing which is present in most Electron apps - application/x-sharedlib*|application/x-pie-executable*) + application/x-sharedlib*|\ + application/x-pie-executable*|\ + application/x-executable*) if [[ ${ignore_elf_files} != *"${file}"* ]]; then matches+=" ${file}" fi