[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: does /var/games have to be deleted on purge? (if it's empty..)



Holger Levsen <holger@layer-acht.org> writes:

> Hi,
>
> while testing the archive with piuparts I found a failure reported by 
> piuparts, that after purge /var/games existed on the system while it wasnt 
> there before installing+purging the package. 
>
> See http://piuparts.debian.org/squeeze/fail/slashem-common_0.0.7E7F3-1.3.log 
> (at the end..)
>
> http://www.pathname.com/fhs/pub/fhs-2.3.html#VARGAMESVARIABLEGAMEDATA says 
> that /var/games is an optional directory, which must be present if the 
> corresponding subsystem (here: a game) is present. 
>
> Thus I would conclude that it has to be removed on purge if there are no other 
> games installed. Right? Or should I make piuparts ignore the /var/games 
> directory if present after purge?
>
>
> regards,
> 	Holger
>
> http://piuparts.debian.org/squeeze/fail/armagetronad-dedicated_0.2.8.2.1-10.log 
> is definitly buggy, as it not only leaves /var/games on the system but 
> also /var/games/armagetronad :-)

And I think there is your problem.

If the package had removed all files then dpkg would have removed the
dir automatically.

MfG
        Goswin


Reply to: