File suse.cron-sa-update of Package spamassassin

#!/bin/bash

if [ -e /etc/sysconfig/spamd ]
then
	. /etc/sysconfig/spamd
fi

if [ "$SPAM_SA_UPDATE" = "yes" ]
then
	/usr/bin/sa-update &> /dev/null
	if [ "$SPAM_SA_COMPILE" = "yes" ]
	then
		/usr/bin/sa-compile &> /dev/null
	fi
fi
exit 0