summaryrefslogtreecommitdiffstats
path: root/tags/p/postinst-uses-db-input.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/p/postinst-uses-db-input.tag')
-rw-r--r--tags/p/postinst-uses-db-input.tag7
1 files changed, 7 insertions, 0 deletions
diff --git a/tags/p/postinst-uses-db-input.tag b/tags/p/postinst-uses-db-input.tag
new file mode 100644
index 0000000..7dbf579
--- /dev/null
+++ b/tags/p/postinst-uses-db-input.tag
@@ -0,0 +1,7 @@
+Tag: postinst-uses-db-input
+Severity: warning
+Check: debian/debconf
+Explanation: It is generally not a good idea for postinst scripts to use debconf
+ commands like <code>db&lowbar;input</code>. Typically, they should restrict themselves
+ to <code>db&lowbar;get</code> to request previously acquired information, and have the
+ config script do the actual prompting.