aboutsummaryrefslogtreecommitdiff
path: root/games/clonekeen/clonekeen.sh
diff options
context:
space:
mode:
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 e189070a0935..4e2d2b56e554 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