summaryrefslogtreecommitdiff
path: root/network/spamassassin/sa-update.sh
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-05-13 00:38:18 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:38:18 +0200
commitd755c90cf3358b54b62b671972259ff9a3757882 (patch)
tree31880758f690482c076de243e6dd25503b824d44 /network/spamassassin/sa-update.sh
parentcd3c2891edd50e9b4536626c6955715621f0a791 (diff)
downloadslackbuilds-d755c90cf3358b54b62b671972259ff9a3757882.tar.gz
network/spamassassin: Updated for version 3.3.0
Diffstat (limited to 'network/spamassassin/sa-update.sh')
-rw-r--r--network/spamassassin/sa-update.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/network/spamassassin/sa-update.sh b/network/spamassassin/sa-update.sh
new file mode 100644
index 0000000000..519578f9f0
--- /dev/null
+++ b/network/spamassassin/sa-update.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+/usr/bin/sa-update > /dev/null
+if [ $? -eq 0 ]; then
+ [ -x /etc/rc.d/rc.spamd ] && /etc/rc.d/rc.spamd restart > /dev/null
+fi
+