blob: b8cb401bcfa3e2d122d58dd6e3c3eaca3f9fb454 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Tag: postinst-does-not-call-updatemenus
Severity: error
Check: menus
Explanation: The package installs a file into <code>/etc/menu-methods</code>,
<code>/usr/share/menu</code>, or <code>/usr/lib/menu</code>, but does not
call the <code>update-menus</code> command in the <code>postinst</code>
maintainer script.
.
For example, you ca use the following code in your maintainer script:
.
if which update-menus > /dev/null; then
update-menus
fi
See-Also:
menu-manual 4.2
|