On Tue, 16 Jul 2024 at 10:20, Chris Hofstaedtler <z...@debian.org> wrote:
> I'd suggest to add the following to your package; dpkg should then
> clean up the conffile automatically. Please test it, however.
>
>    echo 'remove-on-upgrade /etc/sysctl.conf' >> debian/procps.conffiles

Oh, I've not seen that method before but I see it is in deb-conffiles(5).
I was going to use in a maintscript:

rm_conffile /etc/sysctl.conf 2:4.0.4-6~

but your way looks better.

 - Craig

Reply via email to