summaryrefslogtreecommitdiffstats
path: root/debian/postrm
blob: f4c003cf84aed18f66a4f9d372e1180c835c4d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -e

#DEBHELPER#

case "$1" in
    purge)
      rm -rf /var/lib/rspamd
      rm -rf /var/log/rspamd
      exit 0;;
    remove|upgrade|disappear|failed-upgrade|abort-*)
      exit 0;;
    *)
      echo "postrm called with unknown argument \`$1'" >&2
      exit 1;;
esac