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 19:33:10
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..
I think I was working off nethack as an example. So how does the score
file get created? With an INSTALL script? Something like:
case "$2" in
POST-INSTALL)
touch /var/games/score-file;
chown root /var/games/score-file
chgrp games /var/games/score-file
chmod 664 /var/games/score-file
;;
esac
> They shouldn't be in the PLIST, namely because if I upgrade foogame to 3.1, I'd
> rather not have my ultimate high score wiped out.. ;)
Good point!
Simon.