diff options
Diffstat (limited to 'debian/boxbackup-client.postinst')
-rw-r--r-- | debian/boxbackup-client.postinst | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/debian/boxbackup-client.postinst b/debian/boxbackup-client.postinst index 220b2e78..e21db03a 100644 --- a/debian/boxbackup-client.postinst +++ b/debian/boxbackup-client.postinst @@ -314,37 +314,33 @@ EOM fi __EOF - db_stop - if [ -x /usr/bin/ucf ]; then - /usr/bin/ucf --three-way $DEBCONFBB $BBCONF >&2 </dev/tty + /usr/bin/ucf --three-way --debconf-ok $DEBCONFBB $BBCONF fi rm -f $DEBCONFBB chmod 644 $BBCONF || true chown root:root $BBCONF || true if [ -x /usr/bin/ucf ]; then - /usr/bin/ucf --three-way $DEBCONFNOTIFY $NOTIFYSCRIPT >&2 </dev/tty + /usr/bin/ucf --three-way --debconf-ok $DEBCONFNOTIFY $NOTIFYSCRIPT fi rm -f $DEBCONFNOTIFY chmod 755 $NOTIFYSCRIPT || true chown root:root $NOTIFYSCRIPT || true - else - db_stop fi ;; abort-upgrade|abort-remove|abort-deconfigure) - db_stop ;; *) echo "postinst called with unknown argument \`$1'" >&2 - db_stop exit 1 ;; esac +db_stop + # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. |