LINTIAN

# `postinst-does-not-call-updatemenus`

The package installs a file into `/etc/menu-methods`, `/usr/share/menu`, or `/usr/lib/menu`, but does not call the `update-menus` command in the `postinst` maintainer script.

For example, you ca use the following code in your maintainer script:

    if which update-menus > /dev/null; then
        update-menus
    fi

Severity: | `error`
Experimental: | `false`

## See also

- Adding a hook for dpkg in your packages (Section 4.2) in the Debian Menu System

- list of all the affected packages
- the source of this tag