slackbuilds_ponce/games/clonekeen/clonekeen.sh
B. Watson e67673320e games/clonekeen: Updated for version 8.4.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2010-12-27 19:22:53 -02:00

16 lines
230 B
Bash

#!/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