diff options
author | des <des@FreeBSD.org> | 2002-05-12 08:23:49 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-05-12 08:23:49 +0800 |
commit | cb2722448ec08b91c2887e94fcb70eaa42913488 (patch) | |
tree | 57e27c8d2c1cdadc9d946be6ae0c7f7fea688c9a | |
parent | 0d2d4a7b56dd3b2be051419be707a97fe29c2a75 (diff) | |
download | freebsd-ports-gnome-cb2722448ec08b91c2887e94fcb70eaa42913488.tar.gz freebsd-ports-gnome-cb2722448ec08b91c2887e94fcb70eaa42913488.tar.zst freebsd-ports-gnome-cb2722448ec08b91c2887e94fcb70eaa42913488.zip |
Remove the data cache before running the game; it might be left over from
a session played with different data files, and the engine isn't smart
enough to notice the cache doesn't match the on-disk files.
-rw-r--r-- | games/abuse/Makefile | 3 | ||||
-rw-r--r-- | games/abuse/files/abuse.sh | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/games/abuse/Makefile b/games/abuse/Makefile index 764723122895..294cce7d490a 100644 --- a/games/abuse/Makefile +++ b/games/abuse/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: abuse_data +# New ports collection makefile for: abuse # Date created: 11 May 2002 # Whom: des # @@ -7,6 +7,7 @@ PORTNAME= abuse PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.labyrinth.net.au/~trandor/abuse/files/ DISTFILES= abuse_datafiles.tar.gz diff --git a/games/abuse/files/abuse.sh b/games/abuse/files/abuse.sh index 48da73d9acc8..692ba0ee5fc3 100644 --- a/games/abuse/files/abuse.sh +++ b/games/abuse/files/abuse.sh @@ -1,2 +1,4 @@ #!/bin/sh +# $FreeBSD$ +rm -f ~/.abuse/sd_cache.tmp exec abuse.sdl -datadir "%%DATADIR%%" "$@" |