#!/bin/sh set -e # Automatically added by dh_installinit/13.3.4 if [ "$1" = "purge" ] ; then update-rc.d wb-rules remove >/dev/null fi # End automatically added section # Automatically added by dh_installdeb/13.3.4 dpkg-maintscript-helper rm_conffile /etc/wb-rules/load_alarms.js 1.6.7 -- "$@" dpkg-maintscript-helper rm_conffile /etc/init.d/wb-rules 2.7.0\~ -- "$@" # End automatically added section # Automatically added by dh_systemd_start/13.3.4 if [ -d /run/systemd/system ] && [ "$1" = remove ]; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_systemd_enable/13.3.4 if [ "$1" = "remove" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper mask 'wb-rules.service' >/dev/null || true fi fi if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'wb-rules.service' >/dev/null || true deb-systemd-helper unmask 'wb-rules.service' >/dev/null || true fi fi # End automatically added section