diff options
Diffstat (limited to 'games/skulltag/skulltag.sh')
-rw-r--r-- | games/skulltag/skulltag.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games/skulltag/skulltag.sh b/games/skulltag/skulltag.sh new file mode 100644 index 0000000000..d8c1a668d7 --- /dev/null +++ b/games/skulltag/skulltag.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +# First time user runs the game, make sure they get an .ini file +# that knows where to find skulltag.pk3 and friends. +if [ ! -e ~/.skulltag/skulltag.ini ]; then + mkdir -p ~/.skulltag + cat /usr/share/skulltag/skulltag.ini.default > ~/.skulltag/skulltag.ini +fi + +DIR=/usr/@LIB@/skulltag +export LD_LIBRARY_PATH=$DIR +exec $DIR/`basename $0` "$@" |