nagios4/debian/nagios4-cgi.postrm
Mario Fetka 9bac28c161 Bump
2017-05-20 00:00:42 +02:00

21 lines
324 B
Bash

#!/bin/sh -e
# some shorthands for sanity
en="/etc/nagios4"
enc="/etc/nagios4/conf.d"
usn="/usr/share/nagios4"
case "$1" in
remove)
;;
purge)
rm -f /etc/nagios4/htpasswd.users
rm -f /etc/nagios4/apache2.conf
if which ucf >/dev/null 2>&1; then
ucf --purge /etc/nagios4/apache2.conf
fi
;;
esac
#DEBHELPER#