summaryrefslogtreecommitdiff
path: root/ucf
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2009-01-23 11:45:07 -0600
committerManoj Srivastava <srivasta@debian.org>2009-01-23 11:45:07 -0600
commit26a61b89dcd9b724886ca39f136cbc4330ba2e30 (patch)
tree82ae3f0a45697d18d2762d46c7f5c9045d159d88 /ucf
parent9eb51186a562e0eb55a3e343d18c8254c303af60 (diff)
Start issueing a diagnostic if ucf is forced to not use debconf
If ucf is called without the --debconf-ok switch, and debconf is started, issue a diagnostic, and use old style promping on the command line. This is a olicy violation, and soon the non-debconf prompting shall be removed. Signed-off-by: Manoj Srivastava <srivasta@debian.org>
Diffstat (limited to 'ucf')
-rwxr-xr-xucf1
1 files changed, 1 insertions, 0 deletions
diff --git a/ucf b/ucf
index 3611573..d847e8c 100755
--- a/ucf
+++ b/ucf
@@ -154,6 +154,7 @@ if [ -z "$DEBCONF_OK" ]; then
fi
# Time to start nagging the packages that call ucf without debconf-ok
+# since it forces ucf to not use debconf.
if [ "$DEBCONF_ALREADY_RUNNING" ] && [ "$DEBCONF_OK" = NO ]; then
# Commented out for now, uncomment after a while to begin nagging
# maintainers to fix their scripts.