summaryrefslogtreecommitdiff
path: root/testing/spamassassin
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-31 00:04:43 +0000
committerroot <root@rshg054.dnsready.net>2012-08-31 00:04:43 +0000
commit68cdc08aec92abf91448a542e06fabbedbb583bf (patch)
tree2c42e2f29a6162e0cb5ff3db8f0b46277ab4ed90 /testing/spamassassin
parentdba5b0127d9f00a13c489f0f5893481cbe7d429b (diff)
Fri Aug 31 00:04:43 UTC 2012
Diffstat (limited to 'testing/spamassassin')
-rw-r--r--testing/spamassassin/PKGBUILD9
-rw-r--r--testing/spamassassin/spamassassin.install2
2 files changed, 6 insertions, 5 deletions
diff --git a/testing/spamassassin/PKGBUILD b/testing/spamassassin/PKGBUILD
index a6b0dbb0b..18a912f3a 100644
--- a/testing/spamassassin/PKGBUILD
+++ b/testing/spamassassin/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 165370 2012-08-16 16:16:07Z bluewind $
-# Maintainer: Dale Blount <dale@archlinux.org>
+# $Id: PKGBUILD 165766 2012-08-29 13:17:22Z bluewind $
+# Maintainer: Florian Pritz <bluewind@xinu.at>
+# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=spamassassin
pkgver=3.3.2
-pkgrel=4
+pkgrel=6
pkgdesc="A mail filter to identify spam."
arch=('i686' 'x86_64')
license=('APACHE')
@@ -56,5 +57,5 @@ package() {
install -D -m644 "${srcdir}/spamd.conf.d" "${pkgdir}/etc/conf.d/spamd"
install -D -m755 "${srcdir}/spamd" "${pkgdir}/etc/rc.d/spamd"
- install -D -m644 "${srcdir}/spamassassin.service" "${pkgdir}/usr/lib/systemd/system/spamassassin.serivce"
+ install -D -m644 "${srcdir}/spamassassin.service" "${pkgdir}/usr/lib/systemd/system/spamassassin.service"
}
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