Bug#684126: debian-policy: clarification needed for handling of directories used by maintainer scripts
On 2012-08-09 01:34, Charles Plessy wrote:
> + Maintainer scripts should not create directories. Instead, the
that contradicts the regulations about creating directories in /usr/local
also creating *private* directory hierarchies in
/var/{lib,log,spool,...} that are *not shared* with another package is
probably OK
> + binary packages should install the directories needed for their
> + maintainer scripts together with the other files and directories
> + distributed in their data tar archive, to ensure that they are
> + properly removed when purging packages.
I don't think that is clear enough for this case: if $pkg depends on
$foo which ships $dir, $pkg needs to ship $dir, too, (unless $foo is
essential/required)
Andreas
Reply to: