3f3c4d9ae8467fb9b5d1dc15f524f3018cec1763
[ossec-hids.git] / debian / postrm
1 #! /bin/sh
2
3 set -e
4
5 case "$1" in
6     purge)
7         # continue below
8     ;;
9
10     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
11         exit 0
12     ;;
13
14     *)
15         echo "postrm called with unknown argument \`$1'" >&2
16         exit 1
17     ;;
18 esac
19
20 # cleanup leftovers
21 rm -rf /var/ossec/etc /var/ossec/queue /var/ossec/stats
22         
23 # update system v init links
24 update-rc.d -f ossec-hids remove
25
26 # dh_installdeb will replace this with shell code automatically
27 # generated by other debhelper scripts.
28
29 #DEBHELPER#
30
31 exit 0