diff options
author | Reinhard Tartler <siretart@tauware.de> | 2008-07-24 15:16:32 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2008-07-24 15:16:32 +0200 |
commit | a6562e5c53162fe92884438c74226c10def2cc8b (patch) | |
tree | 3ea3df5f7fb4d6e30182ccd9617c30e2170152de /debian/boxbackup-client.postinst | |
parent | 3673cf0fd1f41648bb4827f450f1e60e3db90517 (diff) |
import boxbackup_0.11~rc2-1.dsc
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. |