1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
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

10 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