On Sat, Nov 28, 2015 at 2:45 AM, Kevin Ryde <user42_ke...@yahoo.com.au> wrote:
> The quality of the rm on purge code in other menu-methods packages is > slightly variable to look at, but they rm explicitly. :) > The install-menus command has a --remove option that I will be taking advantage of, to decouple the packaged menu-methods from its cleanup. A change to add other menu files would be consistently removed without any need to know about postrm responsibilities > > but 2.7.10-7 will contain the removal of menu-method > > products on the 'remove' action. > > Oh, I read the menu docs as being on "purge", but I don't know if it > makes a difference in practice. > When in response to a 'purge,' the menu-methods file has already been removed during postrm. While I could place this in prerm, the existing debhelper mechanisms for cleanup are placed into postrm, so I figured to be consistent... Since the script is always auto generated, the net effect would be that while /etc/menu-methods/rxvt remains after a remove, the effective menu in /etc/X11/rxvt.menu is removed. If menu guys disagree, I'll move this to prerm on purge.