]> git.zerfleddert.de Git - micropolis/blame - res/sounds/player
search for available audioplayer
[micropolis] / res / sounds / player
CommitLineData
e4270049
MG
1#!/bin/sh
2
3PLAYER=true
4
5if [ -x "`which aplay`" ]; then
6 PLAYER=aplay
7elif [ -x "`which play`" ]; then
8 PLAYER=play
9elif [ -x "`which mplayer`" ]; then
10 PLAYER="mplayer -nogui -nocache"
11fi
12
13exec ${PLAYER} "$@" >/dev/null 2>&1
Impressum, Datenschutz