2 # postrm script for icinga2-common
8 for f in /etc/icinga2/features-enabled/*; do
9 [ -L "$f" ] && rm -f "$f"
11 rm -rf /var/lib/icinga2/
12 rm -rf /var/log/icinga2/
13 rm -rf /var/cache/icinga2/
14 rm -rf /var/spool/icinga2/
17 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
21 echo "postrm called with unknown argument \`$1'" >&2
26 # dh_installdeb will replace this with shell code automatically
27 # generated by other debhelper scripts.