From 1884e1727a6255b3d087db65cf0fcc37d3e77355 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 21 Mar 2009 10:23:35 +1300 Subject: [PATCH] Mandate use of debconf or equivalent for user prompting. See #206684. --- policy.sgml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) 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.

-- 2.39.5