Lintian tag information: maintainer-script-does-not-check-for-existence-of-updatemenus (type: error)

Description (from lintian-explain-tags)

The given maintainer script calls the update-menus command but does not
check if it exists.

The menu package that provides the command is not an "essential" package.

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

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

Visibility: error
Show-Always: no
Check: menus

Show affected packages