diff --git a/packages/mediacenter/xbmc/scripts/xbmc-sources b/packages/mediacenter/xbmc/scripts/xbmc-sources index 1413b0ebb9..e94d5c8067 100755 --- a/packages/mediacenter/xbmc/scripts/xbmc-sources +++ b/packages/mediacenter/xbmc/scripts/xbmc-sources @@ -86,7 +86,7 @@ EOF # # Always sync to vblank - if [ -x /usr/bin/lspci ]; then + if which lspci >/dev/null; then GPUDEVICE=$(lspci -n | grep 0300) [ "$(echo $GPUDEVICE | grep 10de)" ] && GPUTYPE="NVIDIA" # 10de == NVIDIA [ "$(echo $GPUDEVICE | grep 1002)" ] && GPUTYPE="AMD" # 1002 == AMD