--- fbsetbg 2011-02-16 13:00:38.163166535 +0100 +++ /usr/bin/fbsetbg 2011-02-16 13:00:42.579833202 +0100 @@ -357,9 +357,9 @@ if [ ! "$wpsetter" = Esetroot ]; then WPSETTER=$wpsetter break - elif ( [[ `type -t otool` == file ]] \ + elif ( [ "`which --skip-alias --skip-functions otool 2>/dev/null`" ] \ && otool -L `which Esetroot`|grep libImlib 2>&1 > /dev/null ) \ - || ( [[ `type -t ldd` == file ]] \ + || ( [ "`which --skip-alias --skip-functions ldd 2>/dev/null`" ] \ && ldd `which Esetroot`|grep libImlib 2>&1 > /dev/null ); then WPSETTER=$wpsetter break