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

Re: How to get dpkg to remove directories?



On Tue, Jun 11, 2002 at 05:52:27PM -0000, Grant Edwards wrote:
> In linux.debian.devel, you wrote:
                         ^^^

The attribution here could perhaps be better ...

> > This should never happen. Files in /etc MUST be marked as
> > conffiles.
> 
> Is that documented anywhere?  I couldn't find it mentioned in
> debian-policy.

Yes, if you read it carefully. If you're shipping a file in /etc as part
of the .deb, the only way to preserve changes as required by the section
on configuration files is to make it a conffile. Of course, this doesn't
prevent you managing a configuration file in /etc entirely in your
maintainer scripts and not marking it as a conffile, but then you're
responsible for removing it on purge.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: