From dd7279795c97aa356727d366a2149c9bc838b496 Mon Sep 17 00:00:00 2001 From: Bill Allombert Date: Wed, 16 Nov 2011 12:33:27 +0100 Subject: Imported Debian version 2.1.46 --- doc/README.package-menus | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/README.package-menus (limited to 'doc/README.package-menus') diff --git a/doc/README.package-menus b/doc/README.package-menus new file mode 100644 index 0000000..9c78b5c --- /dev/null +++ b/doc/README.package-menus @@ -0,0 +1,24 @@ +In this directory, each individual package should install its +menu files. Although changing them in this directory to change +the menus on your local system may work, the sysadmin (you?) +is best advised to put the local menufiles in /etc/menu, as, +otherwise your changes are deleted when you upgrade the corresponding +packages. Users may override the system-wide defaults by putting +their menuentry files in ~/.menu. + + +For the package maintainer that wants to include menu files in his +package: + +The files should have the name of the package that's installing it, +and may contain as many lines (menu entries) as is necessary. + +For examples, please look in /usr/share/menu/default + + +Also, in your postinst you should check for the availability of +the update-menus command, and if available, execute it (no +parameters needed). + +For more info, please read /usr/share/doc/menu/html + -- cgit v1.2.3