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

set -e

GAME=clonekeen
HOMEDIR=~/.$GAME
mkdir -p $HOMEDIR
cd $HOMEDIR
if [ -e defaultargs ]; then
  ARGS="`cat defaultargs`"
fi
ln -s /usr/share/games/$GAME/* . &>/dev/null || true
exec $GAME-bin "$@" $ARGS