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
1 changed files with 3 additions and 2 deletions

View File

@ -29,8 +29,9 @@ hook() {
file="${f%:*}" file="${f%:*}"
file="${file#${PKGDESTDIR}}" file="${file#${PKGDESTDIR}}"
case "${mime}" in case "${mime}" in
# Note application/x-executable is missing which is present in most Electron apps application/x-sharedlib*|\
application/x-sharedlib*|application/x-pie-executable*) application/x-pie-executable*|\
application/x-executable*)
if [[ ${ignore_elf_files} != *"${file}"* ]]; then if [[ ${ignore_elf_files} != *"${file}"* ]]; then
matches+=" ${file}" matches+=" ${file}"
fi fi