/usr/share/menu/README is in menu 2.1.47+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 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
|