summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorsiretart@tauware.de <>2010-11-10 11:19:40 +0100
committersiretart@tauware.de <>2010-11-10 11:19:40 +0100
commitc9117effde108da8f16542441089a59bfa526f66 (patch)
tree109cb2bd6b2cbe78edd1abc5cc8f285b6c517f43 /debian
parentd0f5a3a253050abcd652d420723d45f72325719e (diff)
update ucf invocation to integrate better in debconf
avoids this warnig: *** WARNING: ucf was run from a maintainer script that uses debconf, but the script did not pass --debconf-ok to ucf. The maintainer script should be fixed to not stop debconf before calling ucf, and pass it this parameter. For now, ucf will revert to using old-style, non-debconf prompting. Ugh! Please inform the package maintainer about this problem.
Diffstat (limited to 'debian')
-rw-r--r--debian/boxbackup-server.postinst9
1 files changed, 3 insertions, 6 deletions
diff --git a/debian/boxbackup-server.postinst b/debian/boxbackup-server.postinst
index 87d88333..1b19de97 100644
--- a/debian/boxbackup-server.postinst
+++ b/debian/boxbackup-server.postinst
@@ -176,24 +176,21 @@ EOF
echo " TrustedCAsFile = $BBCACERT" >> $DEBCONFBB
echo "}" >> $DEBCONFBB
- db_stop
-
if [ -x "`which ucf`" ]; then
- ucf --three-way $DEBCONFRAID $RAIDCONF >&2 </dev/tty
+ ucf --three-way --debconf-ok $DEBCONFRAID $RAIDCONF
fi
rm -f $DEBCONFRAID
chmod 644 $RAIDCONF || true
chown root:root $RAIDCONF || true
if [ -x "`which ucf`" ]; then
- ucf --three-way $DEBCONFBB $BBCONF >&2 </dev/tty
+ ucf --three-way --debconf-ok $DEBCONFBB $BBCONF
fi
rm -f $DEBCONFBB
chmod 644 $BBCONF || true
chown root:root $BBCONF || true
- else
- db_stop
fi
+ db_stop
;;
abort-upgrade|abort-remove|abort-deconfigure)