summaryrefslogtreecommitdiffstats
path: root/games/skulltag/skulltag.sh
blob: d8c1a668d7ded02187e474965c18cc464ddfdbdf (plain)
1
2
3
4
5
6
7
8
9
10
11
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` "$@"