summarylogtreecommitdiffstats
path: root/uzdoom
blob: a6b83850aaa937e9eb712fb4f70ee617a34d4a90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

APPDIR="/usr"   # we installed uzdoom.bin in /usr/bin

# Always use bundled libs
export LD_LIBRARY_PATH="/usr/lib/uzdoom:$LD_LIBRARY_PATH"

# Optional informational message
if [ -f "/usr/lib/libopenal.so.1" ] || [ -f "/usr/lib64/libopenal.so.1" ] || [ -f "/lib/x86_64-linux-gnu/libopenal.so.1" ]
then
    echo "System OpenAL found"
else
    echo "System OpenAL NOT found"
fi

# Launch uzdoom binary
exec "/usr/bin/uzdoom.bin" "$@"