From: Russ Allbery Date: Sun, 18 Jul 2010 01:33:18 +0000 (-0700) Subject: Alternatives should have slave alternatives for manual pages X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=903e3e70e08c1500a11d6d069c8e833f8d8dda23;p=debian%2Fdebian-policy.git Alternatives should have slave alternatives for manual pages Require that the alternatives for editor, pager, x-terminal-emulator, and x-window-manager have slave alternatives pointing to the appropriate manual page. --- diff --git a/policy.sgml b/policy.sgml index 0b3c1a1..029a34c 100644 --- a/policy.sgml +++ b/policy.sgml @@ -8273,10 +8273,14 @@ done

These two files are managed through the dpkg - "alternatives" mechanism. Thus every package providing an - editor or pager must call the - update-alternatives script to register these - programs. + "alternatives" mechanism. Every package providing an editor or + pager must call the update-alternatives script to + register as an alternative for /usr/bin/editor + or /usr/bin/pager as appropriate. The alternative + should have a slave alternative + for /usr/share/man/man1/editor.1.gz + or /usr/share/man/man1/pager.1.gz pointing to the + corresponding manual page.

@@ -8621,7 +8625,9 @@ name ["syshostname"]: package x-terminal-emulator. They should also register themselves as an alternative for /usr/bin/x-terminal-emulator, with a priority of - 20. + 20. That alternative should have a slave alternative + for /usr/share/man/man1/x-terminal-emulator.1.gz + pointing to the corresponding manual page.

@@ -8698,6 +8704,9 @@ name ["syshostname"]: configuration, add 10 points; otherwise add none. + That alternative should have a slave alternative + for /usr/share/man/man1/x-window-manager.1.gz + pointing to the corresponding manual page.