wrapQtAppsHook: use isELFExec
This ensures we only wrap executables, not shared libraries
This commit is contained in:
parent
e1b80a5a99
commit
88146a095f
@ -82,7 +82,7 @@ wrapQtAppsHook() {
|
|||||||
|
|
||||||
find "$targetDir" -executable -print0 | while IFS= read -r -d '' file
|
find "$targetDir" -executable -print0 | while IFS= read -r -d '' file
|
||||||
do
|
do
|
||||||
isELF "$file" || continue
|
isELFExec "$file" || continue
|
||||||
|
|
||||||
if [ -f "$file" ]
|
if [ -f "$file" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user