Subject: Re: game score files in a package
To: None <root@garbled.net>
From: Simon Burge <simonb@telstra.com.au>
List: tech-pkg
Date: 12/02/1998 20:51:45
On Wed, 02 Dec 1998 01:18:26 -0700 (MST) Tim Rightnour wrote:
>
> On 02-Dec-98 Simon Burge spoke unto us all:
> # If I add it to the PLIST,
>
> IMHO, you should not be adding scorefiles to the PLIST.. they should be
> installed in /var/games somewhere. I believe I've updated most of the games to
> DTRT now.. but I could have missed some odd cases..
Umm:
egrep '^@unexec.*(score|record)' games/*/pkg/PLIST
games/nethack-lib/pkg/PLIST:@unexec rm -f %D/share/nethackdir/record
games/xgalaga/pkg/PLIST:@unexec rm -f %D/share/xgalaga/scores
games/xkobo/pkg/PLIST:@unexec rm -r %D/lib/X11/xkobo-scores
Also, I said:
> So how does the score file get created? With an INSTALL script?
I guess I can just use @exec commands in the PLIST file...
Simon.