#!/bin/sh set -e # Automatically added by dh_installsystemd/12.10ubuntu1 if [ -d /run/systemd/system ] && [ "$1" = remove ]; then deb-systemd-invoke stop 'named.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/12.10ubuntu1 if [ -d /run/systemd/system ] && [ "$1" = remove ]; then deb-systemd-invoke stop 'named-resolvconf.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/12.10ubuntu1 if [ -x "/etc/init.d/named" ] && [ "$1" = remove ]; then invoke-rc.d --skip-systemd-native named stop || exit 1 fi # End automatically added section # Automatically added by dh_installdeb/12.10ubuntu1 dpkg-maintscript-helper mv_conffile /etc/default/bind /etc/default/named 1:9.13.6\~ -- "$@" dpkg-maintscript-helper mv_conffile /etc/default/bind9 /etc/default/named 1:9.12.0\~ -- "$@" dpkg-maintscript-helper mv_conffile /etc/init.d/bind /etc/init.d/named 1:9.13.6\~ -- "$@" dpkg-maintscript-helper mv_conffile /etc/init.d/bind9 /etc/init.d/named 1:9.12.0\~ -- "$@" # End automatically added section