File: icinga-cgi.postrm

package info (click to toggle)
icinga 1.0.2-2%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 33,952 kB
  • ctags: 13,294
  • sloc: xml: 154,821; ansic: 99,198; sh: 14,585; sql: 5,852; php: 5,126; perl: 2,838; makefile: 1,268
file content (20 lines) | stat: -rw-r--r-- 319 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh -e

# some shorthands for sanity
en="/etc/icinga"
enc="/etc/icinga/objects"
usn="/usr/share/icinga"

case "$1" in
  remove)
  	;;
  purge)
	rm -f /etc/icinga/htpasswd.users
	rm -f /etc/icinga/apache2.conf
	if which ucf >/dev/null 2>&1; then
		ucf --purge /etc/icinga/apache2.conf
	fi
    ;;
esac

#DEBHELPER#