wrapQtAppsHook: use isELF

We should still prevent things like
scripts from being wrapped.
This commit is contained in:
worldofpeace 2019-07-17 15:53:15 -04:00
parent 53c981f67e
commit 7d6ab0ad7a

View file

@ -82,6 +82,8 @@ wrapQtAppsHook() {
find "$targetDir" -executable -print0 | while IFS= read -r -d '' file
do
isELF "$file" || continue
if [ -f "$file" ]
then
echo "wrapping $file"