freebsd-ports/games/linux-enemyterritory/files/et.in
Jean-Yves Lefort c0913ce24c * Update to 2.60
* Install in ${X11BASE}
* Fix launcher scripts and install them in ${PREFIX}/bin
* Install .xpm file in ${DATADIR}
* Install doc in ${DOCSDIR}
* Smarter openurl.sh
* Workaround a bug causing the resolution to be reset to 800x600 on
  each startup
* Cleanup the Makefile

PR:		ports/79221, ports/79613
Submitted by:	myself, maintainer
Reviewed by:	maintainer
Approved by:	adamw (mentor)
2005-04-14 16:26:35 +00:00

8 lines
252 B
Bash

#!/bin/sh
# Prevent et from resetting unsafe settings to their default value (see
# http://www.splashdamage.com/forums/viewtopic.php?t=3883&highlight=pid).
rm ~/.etwolf/*/profiles/*/profile.pid >/dev/null 2>&1
cd @ETDIR@ || exit 1
exec ./et.x86 "$@"