summaryrefslogtreecommitdiff
blob: d500af681f81e4de697ab0a6b6408ee1e72d29de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/util/fbsetbg
+++ b/util/fbsetbg
@@ -356,7 +356,8 @@
             if [ ! "$wpsetter" = Esetroot ]; then
                 WPSETTER=$wpsetter
                 break
-            elif ldd `which Esetroot`|grep libImlib 2>&1 > /dev/null; then
+            elif ldd `which Esetroot`|grep libImlib 2>&1 > /dev/null || \
+                otool -L `which Esetroot`|grep libImlib 2>&1 > /dev/null; then
                 WPSETTER=$wpsetter
                 break
             else