summaryrefslogtreecommitdiff
path: root/games/clonekeen/clonekeen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/clonekeen/clonekeen.sh')
-rw-r--r--games/clonekeen/clonekeen.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/clonekeen/clonekeen.sh b/games/clonekeen/clonekeen.sh
new file mode 100644
index 0000000000..e189070a09
--- /dev/null
+++ b/games/clonekeen/clonekeen.sh
@@ -0,0 +1,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