Bug#541537: debian-policy: note about sensible-{editor,pager}
Package: debian-policy
Severity: normal
Due to potential confusion about sensible-utils being only de facto
Essential and whether or not packages should be declaring dependencies
on it. Something like this footnote may be helpful.
diff --git a/policy.sgml b/policy.sgml
index bcbaacb..57c5386 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -7953,11 +7953,13 @@ done
EDITOR or PAGER variables, that program may be configured to
use <file>/usr/bin/sensible-editor</file> and
<file>/usr/bin/sensible-pager</file> as the editor or pager
- program respectively. These are two scripts provided in the
- Debian base system that check the EDITOR and PAGER variables
- and launch the appropriate program, and fall back to
- <file>/usr/bin/editor</file> and <file>/usr/bin/pager</file> if the
- variable is not set.
+ program respectively.<footnote>A package making unconditional
+ use of one of these programs must declare a dependency on
+ the package containing them.</footnote> These are two scripts
+ provided in the Debian base system that check the EDITOR and
+ PAGER variables and launch the appropriate program, and fall
+ back to <file>/usr/bin/editor</file> and
+ <file>/usr/bin/pager</file> if the variable is not set.
</p>
<p>
Reply to: