chiark / gitweb /
And a changelog entry
[dsa-metapackages.git] / debian / debian.org-nagios.debian.org.postrm
1 #!/bin/sh
2 # postrm script for #PACKAGE#
3 #
4 # see: dh_installdeb(1)
5
6 set -e
7
8 TAKEOVER="
9 /usr/lib/cgi-bin/icinga/showlog.cgi
10 /usr/lib/cgi-bin/icinga/trends.cgi
11 /usr/lib/cgi-bin/icinga/avail.cgi
12 /usr/lib/cgi-bin/icinga/notifications.cgi
13 /usr/lib/cgi-bin/icinga/statuswml.cgi
14 /usr/lib/cgi-bin/icinga/history.cgi
15 /usr/lib/cgi-bin/icinga/cmd.cgi
16 /usr/lib/cgi-bin/icinga/histogram.cgi
17 /usr/lib/cgi-bin/icinga/tac.cgi
18 /usr/lib/cgi-bin/icinga/outages.cgi
19 /usr/lib/cgi-bin/icinga/extinfo.cgi
20 /usr/lib/cgi-bin/icinga/config.cgi
21 /usr/lib/cgi-bin/icinga/summary.cgi
22 /usr/lib/cgi-bin/icinga/status.cgi
23 /usr/lib/cgi-bin/icinga/statusmap.cgi
24 /usr/lib/cgi-bin/icinga/statuswrl.cgi
25 "
26
27 case "$1" in
28     purge|upgrade|failed-upgrade|abort-upgrade)
29     ;;
30
31     remove|abort-install|disappear)
32         for f in $TAKEOVER
33         do
34                 dpkg-divert --package debian.org-nagios.debian.org --remove --rename \
35                             --divert $f.real $f
36         done
37     ;;
38
39     *)
40         echo "postrm called with unknown argument \`$1'" >&2
41         exit 1
42     ;;
43 esac
44
45 # dh_installdeb will replace this with shell code automatically
46 # generated by other debhelper scripts.
47
48 #DEBHELPER#
49
50 exit 0