]>
git.zerfleddert.de Git - micropolis/blob - res/sounds/player
5 if [ -x "`which aplay`" ]; then
7 elif [ -x "`which play`" ]; then
9 elif [ -x "`which mplayer`" ]; then
10 PLAYER
="mplayer -nogui -nocache"
13 if [ "x${PLAYER}" = "x" ]; then
14 echo "Can't find audio player!"
15 echo "Please make sure you have aplay, play or mplayer in your path."
16 if [ "`uname`" = "Darwin" ]; then
17 echo "A working play for OS X is available from:"
18 echo "http://www.hieper.nl/html/play.html"
21 exec ${PLAYER} "$@" >/dev
/null
2>&1