11-pkglint-elf-in-usrshare: disallow x-executable

Can be allowed per-package now
This commit is contained in:
Piotr Wójcik 2020-08-04 22:28:14 +02:00 committed by Piotr
parent e0979275b4
commit dcdbcbf30a

View File

@ -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