File: sa-compile.postrm

package info (click to toggle)
spamassassin 4.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 25,724 kB
  • sloc: perl: 89,143; ansic: 5,193; sh: 3,737; javascript: 339; sql: 295; makefile: 209; python: 49
file content (12 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e 

#DEBHELPER#

if [ "$1" = "remove" ]; then
# Remove the compiled rules and restart spamd to complete unloading of
# Mail::SpamAssassin::Plugin::Rule2XSBody
    rm -Rf /var/lib/spamassassin/compiled
    invoke-rc.d spamd restart
fi