Import Debian changes 1.0.12-2

tinc (1.0.12-2) unstable; urgency=low

  * Remove debconf questions. Closes: #572116
    Apparently debconf may not be used to ask a question at install time and
    use the answer at upgrade time. Instead of kludging around this
    restriction, no questions are asked anymore, and tinc will now always be
    restarted when upgrading.
  * Wait up to 5 seconds for tinc daemon to stop before restarting it.
This commit is contained in:
Guus Sliepen 2010-03-02 14:01:36 +01:00
parent 0dd8a42607
commit 3cfe4d82fb
20 changed files with 31 additions and 672 deletions

20
debian/prerm vendored
View file

@ -1,20 +0,0 @@
#!/bin/sh
set -e
# Automatically added by dh_installinit, edited for use with debconf
if [ -x "/etc/init.d/tinc" -a "$1" != "upgrade" ]; then
if [ -e /usr/share/debconf/confmodule ] ; then
. /usr/share/debconf/confmodule
db_get tinc/restart_on_upgrade
if [ "$RET" = "true" ] ; then
invoke-rc.d tinc stop
fi
db_stop
else
invoke-rc.d tinc stop
fi
fi
# End automatically added section
#DEBHELPER#