slackbuilds_ponce/network/spamassassin/sa-update.sh
LukenShiro 89ec349ce6 network/spamassassin: Updated for version 3.3.2.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2011-08-10 10:46:41 -03:00

7 lines
150 B
Bash

#!/bin/sh
/usr/bin/sa-update > /dev/null 2>&1
if [ $? -eq 0 ]; then
[ -x /etc/rc.d/rc.spamd ] && /etc/rc.d/rc.spamd restart > /dev/null 2>&1
fi