nagios4/debian/nagios3-cgi.postrm

21 lines
324 B
Plaintext
Raw Normal View History

2014-10-05 11:53:19 +02:00
#!/bin/sh -e
# some shorthands for sanity
en="/etc/nagios3"
enc="/etc/nagios3/conf.d"
usn="/usr/share/nagios3"
case "$1" in
remove)
;;
purge)
rm -f /etc/nagios3/htpasswd.users
rm -f /etc/nagios3/apache2.conf
if which ucf >/dev/null 2>&1; then
ucf --purge /etc/nagios3/apache2.conf
fi
;;
esac
#DEBHELPER#