--- util/fbsetbg +++ util/fbsetbg @@ -356,7 +356,10 @@ if [ ! "$wpsetter" = Esetroot ]; then WPSETTER=$wpsetter break - elif ldd `which Esetroot`|grep libImlib 2>&1 > /dev/null; then + elif ( [ "`which --skip-alias --skip-functions otool 2>/dev/null`" ] \ + && otool -L `which Esetroot`|grep libImlib 2>&1 > /dev/null ) \ + || ( [ "`which --skip-alias --skip-functions ldd 2>/dev/null`" ] \ + && ldd `which Esetroot`|grep libImlib 2>&1 > /dev/null ); then WPSETTER=$wpsetter break else