Hi and sorry for what is a basic question, but I can't find a clear answer.
It seems that dpkg-maintscript-helper is the tool to remove conffiles, but it doesn't seem to have any special handling for init scripts. Which means that simply calling "rm_conffile …" will just remove the /etc/init.d/ script, leaving potential symlinks in /etc/rc?.d around. The snippets inserted by dh_installinit in postrm will only call "update-rc.d xxx remove" in case of purge, so they won't be called during a package upgrade. Any smarter solution than just adding code to postinst/configure with the old version to call update-rc.d remove? thanks, iustin
signature.asc
Description: PGP signature