X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fcron.daily;h=6de4ce56ebea472b78d4bcf72a4e2bf61ac34e2c;hb=fff050fae6f13f958974261721c5bea76f41bb2a;hp=4acf67ee57cec7f3352e7e7eb3232c7045292224;hpb=398d1393b4cd16ac3f5c5dd70295bbdbca78c18d;p=spamassassin-cn.git diff --git a/debian/cron.daily b/debian/cron.daily index 4acf67e..6de4ce5 100755 --- a/debian/cron.daily +++ b/debian/cron.daily @@ -1,5 +1,6 @@ #!/bin/sh # Dinko Korunic +# Modified by Ivan Rako exec 1>> /var/log/sa-update.log exec 2>&1 @@ -12,9 +13,7 @@ if [ -e /etc/spamassassin/sa-update.channels ]; then sa-update \ --channelfile /etc/spamassassin/sa-update.channels \ --allowplugins \ - --gpgkey 6C6191E3 \ - --gpgkey 24F434CE \ - --gpgkey BDE9DC10 || \ + --gpghomedir /etc/spamassassin/sa-update-keys || \ ( echo "$(date +'%d-%m-%Y %T'): No new rules. Exiting now."; exit ) fi