mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
13 lines
218 B
Bash
13 lines
218 B
Bash
#!/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
|