On Wed, Oct 22, 2008 at 01:15:06PM -0700, Daniel Moerner wrote:
> Package: menu
> Version: 2.1.40
> Severity: minor
> 
> Hi,
> 
> Section 4.2 of the menu documentation (/usr/share/doc/menu/menu.txt.gz) says 
> you should include postinst and postrm calls to update-menus in your package.
> 
> However, according to man 1 dh_installmenu:
> 
>        It also automatically generates the postinst and postrm commands
>        needed to interface with the debian menu package. These commands are
>        inserted into the maintainer scripts by dh_installdeb. 

Hello Daniel,

> I believe that Section 4.2 should be amended to only recommend the
> additions of the postinst and postrm calls if dh_installmenu is for
> some reason not used in the building of the package.

I do not understand why. Menu documentation mentions a requirement
to call update-menus in postinst and postrm, and dh_installmenu 
provides an easy way to satisfy this requirement. There is no conflict.
furthermore, merely calling dh_installmenu and dh_installdeb is not always
sufficient to satisfy this requirement: if debian/postinst exist, then
it must include #DEBHELPER# somewhere, else dh_installdeb will not
add the call to update-menus.

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to