freebsd-ports/games/jvgs/files/jvgs.in
Dmitry Marakasov 96771d769b - Ignore version 0.5 in portscout
- Improve wrapper script
2012-03-05 14:32:25 +00:00

9 lines
201 B
Bash

#!/bin/sh -e
mkdir -p ~/.jvgs
cd ~/.jvgs
if [ ! -e 'resources' -o "`readlink resources`" != %%DATADIR%%/resources ]; then
rm -f resources
ln -s %%DATADIR%%/resources
fi
exec %%PREFIX%%/libexec/jvgs