slackbuilds_ponce/games/skulltag/skulltag.sh
B. Watson 2aff3f9702 games/skulltag: Added (port iof the original Doom and Doom II)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-01-15 23:28:24 -06:00

12 lines
354 B
Bash

#!/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` "$@"