1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/games/editss/files/editss.in
Jean-Yves Lefort 7b6541a57b - Fix MASTER_SITES [1]
- Replace pkg-message instructions by a wrapper script
- Cleanups

[1]:
PR:		ports/97647
Submitted by:	Martin Wilke <freebsd@unixfreunde.de>
2006-05-23 11:29:43 +00:00

11 lines
261 B
Bash

#!/bin/sh
if ! [ -f $HOME/.editssrc ]; then
/usr/bin/install -m 644 %%DATADIR%%/editssrc $HOME/.editssrc
fi
if ! [ -f $HOME/.xpilot-shipshapes ]; then
/usr/bin/install -m 644 %%DATADIR%%/ships $HOME/.xpilot-shipshapes
fi
exec %%PREFIX%%/libexec/editss "$@"