wrapQtAppsHook: remove isQtApp
This was preventing dolphin from being wrapped.
This commit is contained in:
parent
6c057aea5c
commit
4908d382ae
@ -64,10 +64,6 @@ qtOwnPathsHook() {
|
|||||||
|
|
||||||
preFixupPhases+=" qtOwnPathsHook"
|
preFixupPhases+=" qtOwnPathsHook"
|
||||||
|
|
||||||
isQtApp () {
|
|
||||||
readelf -d "$1" 2>/dev/null | grep -q -F 'libQt5Core'
|
|
||||||
}
|
|
||||||
|
|
||||||
# Note: $qtWrapperArgs still gets defined even if $dontWrapQtApps is set.
|
# Note: $qtWrapperArgs still gets defined even if $dontWrapQtApps is set.
|
||||||
wrapQtAppsHook() {
|
wrapQtAppsHook() {
|
||||||
# skip this hook when requested
|
# skip this hook when requested
|
||||||
@ -86,8 +82,6 @@ wrapQtAppsHook() {
|
|||||||
|
|
||||||
find "$targetDir" -executable -print0 | while IFS= read -r -d '' file
|
find "$targetDir" -executable -print0 | while IFS= read -r -d '' file
|
||||||
do
|
do
|
||||||
isQtApp "$file" || continue
|
|
||||||
|
|
||||||
if [ -f "$file" ]
|
if [ -f "$file" ]
|
||||||
then
|
then
|
||||||
echo "wrapping $file"
|
echo "wrapping $file"
|
||||||
|
Loading…
Reference in New Issue
Block a user