11-pkglint-elf-in-usrshare: disallow x-executable
Can be allowed per-package now
This commit is contained in:
parent
e0979275b4
commit
dcdbcbf30a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue