summaryrefslogtreecommitdiffstats
path: root/debian/postrm
blob: 812549901050d30976ef2f8517d2c105f77ea9f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
set -eu

#DEBHELPER#

case "$1" in
    purge)
      rm -rf /var/lib/rspamd
      rm -rf /var/log/rspamd
      rm -rf /run/rspamd
    ;;

    remove|upgrade|disappear|failed-upgrade|abort-*)
    ;;

    *)
      echo "postrm called with unknown argument \`$1'" >&2
      exit 1
    ;;
esac