wrapQtAppsHook: use isELFExec
This ensures we only wrap executables, not shared libraries
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user