reassign 461626 bastet thanks On Sun, Jan 20, 2008 at 12:26:53AM +0000, phil wrote: >debsums detects that /var/games/bastet.scores has changed. > >I would have thought that all files in /var/ would be skipped. Certainly >scores >files should be! > >Is this a debsums or bastet issue?
A problem with bastet: The package contains an empty file as /var/games/bastet.scores, and an md5sum for that file. This is not just a problem for debsums, having the scores file as part of the package means that on upgrade the scores will be replaced by an empty file from the new version. The normal way to handle this is to not include the file in the package, but to create conditionally in the postinst and remove it in the postrm on "purge". Something like: postinst: scores=/var/games/bastet.scores [ -e $scores ] || { touch $scores; chgrp games $scores; chmod 664 $scores; } postrm: if [ "$1" = "purge" ]; then rm -f /var/games/bastet.scores; fi --bod _______________________________________________ Pkg-games-devel mailing list Pkg-games-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel