fi
set -- "darkplaces/darkplaces$client" -xonotic "$@"
- # if pulseaudio is running: USE IT
- if [ -z "$SDL_AUDIODRIVER" ] && ! [ -n "$WE_HATE_OUR_USERS" ] && ! [ x"`uname`" = x"Darwin" ]; then
- if ps -C pulseaudio >/dev/null; then
- if ldd /usr/lib/libSDL.so 2>/dev/null | grep pulse >/dev/null; then
- export SDL_AUDIODRIVER=pulse
- fi
- fi
- fi
-
binary=$1
if [ x"$USE_GDB" = x"yes" ]; then
;;
esac
-# if pulseaudio
-if [ -z "$SDL_AUDIODRIVER" ]; then
- if ps -C pulseaudio >/dev/null; then
- if ldd /usr/lib/libSDL.so 2>/dev/null | grep pulse >/dev/null; then
- export SDL_AUDIODRIVER=pulse
- fi
- fi
-fi
-
exec "$@"