mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
99f2d5bf81
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
18 lines
353 B
Bash
18 lines
353 B
Bash
#!/bin/sh
|
|
|
|
# SBo wrapper script for asteroidsinfinity, by B. Watson.
|
|
# Licensed under the WTFPL.
|
|
|
|
SHAREDIR=/usr/share/games/asteroidsinfinity
|
|
HOMEDIR=$HOME/.asteroidsinfinity
|
|
|
|
set -e
|
|
|
|
mkdir -p $HOMEDIR
|
|
cd $HOMEDIR
|
|
for src in $SHAREDIR/*; do
|
|
dst="$( basename $src )"
|
|
[ -e "$dst" ] || ln -s "$src" "$dst"
|
|
done
|
|
|
|
exec python ./AsteroidsInfinity.py "$@"
|