tinc/debian/prerm
Guus Sliepen b96e4c6b19 Import Debian changes 1.0.11-1~bpo50+1
tinc (1.0.11-1~bpo50+1) lenny-backports; urgency=low

  * Rebuild for lenny-backports.

tinc (1.0.11-1) unstable; urgency=low

  * New upstream release.
  * Cope with texi2html arbitrarily changing its output directory.
    Closes: #552927
  * Do not stop tinc when configuring a new version, just restart after
    the upgrade.
2019-08-26 13:44:39 +02:00

20 lines
420 B
Bash

#!/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#