aboutsummaryrefslogtreecommitdiff
path: root/games/clonekeen/clonekeen.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-12-26 21:09:09 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2010-12-27 19:22:53 -0200
commite67673320eb30baa5fc9515e1fc2bb73e1a71c59 (patch)
tree74423f21beb950ecd69ca2dc43731b2874b1a6e4 /games/clonekeen/clonekeen.sh
parent1ec5fa432230c0696c41e241406ee4867d516663 (diff)
games/clonekeen: Updated for version 8.4.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games/clonekeen/clonekeen.sh')
-rw-r--r--games/clonekeen/clonekeen.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/games/clonekeen/clonekeen.sh b/games/clonekeen/clonekeen.sh
index e189070a09358..4e2d2b56e5541 100644
--- a/games/clonekeen/clonekeen.sh
+++ b/games/clonekeen/clonekeen.sh
@@ -6,8 +6,11 @@ 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
+
+if [ ! -e keen.conf ]; then
+ cat keen.conf.default > keen.conf
+fi
+
exec $GAME-bin "$@" $ARGS