[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..)



Hi,

On Mittwoch, 8. April 2009, Adeodato Simó wrote:
> Additionally, what happens if package A and B both ship an empty
> /var/games (they both write their score files directly there, rather
> than a subdirectory), get both installed, then B gets purged and its
> postinst removes /var/games, and then A runs and tries to write to
> /var/games a score file, but the directory does no longer exist nor has
> the game write permission to create it. Is there or is there going to be
> a policy mandating that packages should not ship /var/games without
> shipping /var/games/<name>?

Isn't the right approach for these packages to register the files they rely on 
in /var/games/ with dpkg?


regards,
	Holger

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: