From: Andrew McMillan Date: Fri, 20 Mar 2009 21:23:35 +0000 (+1300) Subject: Mandate use of debconf or equivalent for user prompting. See #206684. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1884e1727a6255b3d087db65cf0fcc37d3e77355;p=debian%2Fdebian-policy.git Mandate use of debconf or equivalent for user prompting. See #206684. --- diff --git a/policy.sgml b/policy.sgml index df586d1..8f02c12 100644 --- a/policy.sgml +++ b/policy.sgml @@ -1218,17 +1218,16 @@ Prompting in maintainer scripts

Package maintainer scripts may prompt the user if - necessary. Prompting should be done by communicating + necessary. Prompting must be done by communicating through a program, such as debconf, which conforms to the Debian Configuration Management - Specification, version 2 or higher. Prompting the user by - other means, such as by hand - From the Jargon file: by hand 2. By extension, - writing code which does something in an explicit or - low-level way for which a presupplied library - (debconf, in this instance) routine ought - to have been available. - , is now deprecated. + Specification, version 2 or higher. +

+ +

+ Packages which are essential, or which are dependencies of + essential packages, may fall back on another prompting method + if no such interface is available when they are executed.