mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
96771d769b
- Improve wrapper script
10 lines
201 B
Bash
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
|