[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ next ]
A package should provide a menu file
/usr/share/menu/<package-name>
that contains information
about each program it likes to make available in the menus.
You should add a line like this to your postinst script
if test -x /usr/bin/update-menus; then update-menus; fi
and the postrm
script should get the line
if test -x /usr/bin/update-menus; then update-menus; fi
(that is, the same line in postinst and in postrm).
[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ next ]
Debian Menu System
version 1.4, 12 May 2008joostje@debian.org
joeyh@debian.org
schwarz@debian.org
ballombe@debian.org