diff options
author | James Meyer <jams@linhes.org> | 2010-12-29 00:53:57 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-29 00:53:57 (GMT) |
commit | bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d (patch) | |
tree | 8641b9762f43e4ee1022643782d013d7bdc06143 /abs/extra/xbmc-svn/FEH.sh | |
parent | 082e88179d8a355d5e67e62c5031d3d689ea3d5b (diff) | |
parent | eb0b8a2e6a2b8c78266e2e641a468843deee61c3 (diff) | |
download | linhes_pkgbuild-bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d.zip linhes_pkgbuild-bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d.tar.gz linhes_pkgbuild-bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d.tar.bz2 |
Merge remote branch 'origin/testing' into testing
Diffstat (limited to 'abs/extra/xbmc-svn/FEH.sh')
-rw-r--r-- | abs/extra/xbmc-svn/FEH.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/extra/xbmc-svn/FEH.sh b/abs/extra/xbmc-svn/FEH.sh new file mode 100644 index 0000000..e040a78 --- /dev/null +++ b/abs/extra/xbmc-svn/FEH.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +RETVAL=0 + +if [[ -z $(glxinfo | grep "direct rendering.*Yes" | uniq) ]]; then + echo "XBMC needs hardware accelerated OpenGL rendering." + echo "Install an appropriate graphics driver." + echo + echo "Please consult XBMC Wiki for supported hardware" + echo "http://xbmc.org/wiki/?title=Supported_hardware" + echo + RETVAL=1 +fi + +if [[ -z $(xdpyinfo | grep "depth of root.*24" | uniq) ]]; then + echo "XBMC cannot run unless the" + echo "screen color depth is atleast 24 bit." + echo + echo "Please reconfigure your screen." + RETVAL=1 +fi + +exit ${RETVAL} + |