diff options
Diffstat (limited to 'debian/boxbackup-server.postinst')
-rw-r--r-- | debian/boxbackup-server.postinst | 9 |
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) |