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

Re: config files management in maintscripts



When package is purged all config files should be removed.
No matter if these config files are in package or created by tools or maintainer scripts
of this package.

2012/6/20 bilibop project <quidame@safe-mail.net>
Hi,

I've built a package supplying:
- a udev rules file (in /lib/udev/rules.d)
- a helper script to build a custom rules file (in /etc/udev/rules.d) to override the previous one.
 This script is run manually by the admin.

Of course, when the package is removed, the custom rules file is not removed.
My question is: what to do when the package is PURGED ? Should the prerm or postrm script
remove this configuration' file even if it is not directly provided by the package ? Or should I
let the admin do as she wants ?

Thanks,
quidame


--
To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] N1R-eLgXBpaPf6@Safe-mail.net" target="_blank">http://lists.debian.org/[🔎] N1R-eLgXBpaPf6@Safe-mail.net



Reply to: