summaryrefslogtreecommitdiff
path: root/testing/spamassassin/spamassassin.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/spamassassin/spamassassin.install')
-rw-r--r--testing/spamassassin/spamassassin.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/spamassassin/spamassassin.install b/testing/spamassassin/spamassassin.install
index fae0264b2..e43453e97 100644
--- a/testing/spamassassin/spamassassin.install
+++ b/testing/spamassassin/spamassassin.install
@@ -4,7 +4,7 @@ post_install() {
post_upgrade() {
# Compile rules, if rules have previously been compiled, and it's possible
- if type re2c &>/dev/null && type sa-compile &>/dev/null && [[ -d /var/lib/spamassassin/compiled ]]
+ if type re2c &>/dev/null && type sa-compile &>/dev/null && [[ -d /var/lib/spamassassin/compiled ]]; then
echo "Detected compiled rules, running sa-compile..."
sa-compile > /dev/null 2>&1
fi