From b86b946791f8dcc23ed6c47d513e34ebb22c1610 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 13:32:39 +0200 Subject: Adding debian version 2.14.2-1. Signed-off-by: Daniel Baumann --- debian/icinga2-ido-mysql.postrm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 debian/icinga2-ido-mysql.postrm (limited to 'debian/icinga2-ido-mysql.postrm') diff --git a/debian/icinga2-ido-mysql.postrm b/debian/icinga2-ido-mysql.postrm new file mode 100644 index 0000000..ad99b5d --- /dev/null +++ b/debian/icinga2-ido-mysql.postrm @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +if [ -f /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule +fi + +if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then + . /usr/share/dbconfig-common/dpkg/postrm + dbc_go icinga2-ido-mysql $@ +fi + +if [ "$1" = "purge" ]; then + rm -f /etc/icinga2/features-available/ido-mysql.conf + rm -f /etc/icinga2/features-enabled/ido-mysql.conf + if which ucf >/dev/null; then + ucf --purge /etc/icinga2/features-available/ido-mysql.conf + fi + db_purge +fi + +#DEBHELPER# + -- cgit v1.2.3