summaryrefslogtreecommitdiff
path: root/games/clonekeen/clonekeen.sh
blob: 4e2d2b56e5541c0256d06fbd38264c4cfa5fb578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

GAME=clonekeen
HOMEDIR=~/.$GAME
mkdir -p $HOMEDIR
cd $HOMEDIR

ln -s /usr/share/games/$GAME/* . &>/dev/null || true

if [ ! -e keen.conf ]; then
  cat keen.conf.default > keen.conf
fi

exec $GAME-bin "$@" $ARGS