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

Re: May packages rm -rf subdirectories of /etc/ ?



Thomas Hood <jdthood@yahoo.co.uk> writes:

> If not, what do think of this?  When is it OK for a package to
> "rm -rf /etc/foo/" on purge?

Never, IMO.  It should remove the configuration files and then do 
'rmdir --ignore-fail-on-non-empty /etc/foo'.  Of course, dpkg will
handle this correctly for conffiles; you only need to do this for
non-conffile configuration files.

-- 
Poems... always a sign of pretentious inner turmoil.

Attachment: pgp5fYFBp7YuI.pgp
Description: PGP signature


Reply to: