summaryrefslogtreecommitdiff
blob: 7671dd83647cf84543bcf8264ef0d18ba351d1dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- util/fbsetbg
+++ 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