]>
Commit | Line | Data |
---|---|---|
930e051d DM |
1 | #!/bin/sh |
2 | # postrm script for corosync | |
3 | # | |
4 | # see: dh_installdeb(1) | |
5 | ||
6 | set -e | |
7 | ||
8 | # for details, see http://www.debian.org/doc/debian-policy/ or | |
9 | # the debian-policy package | |
10 | ||
11 | ||
12 | case "$1" in | |
13 | purge) | |
14 | rm -rf /var/lib/corosync | |
013101f0 | 15 | rm -rf /var/log/corosync |
930e051d DM |
16 | ;; |
17 | ||
18 | remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | |
19 | ;; | |
20 | ||
21 | *) | |
22 | echo "postrm called with unknown argument \`$1'" >&2 | |
23 | exit 1 | |
24 | ;; | |
25 | esac | |
26 | ||
27 | # dh_installdeb will replace this with shell code automatically | |
28 | # generated by other debhelper scripts. | |
29 | ||
30 | #DEBHELPER# | |
31 | ||
32 | exit 0 | |
33 | ||
34 |