Debian Menu System - What packages with applications should do

[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ next ]

# Debian Menu System
Chapter 4 - What packages with applications should do

## 4.1 Providing a menu file

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.

## 4.2 Adding a hook for dpkg in your packages

The `postinst` script and the `postrm` script of the package should include the line

          if test -x /usr/bin/update-menus; then update-menus; fi

If you are using `debhelper`, the program `dh_installmenu` can do it for you.

[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ next ]

Debian Menu System