X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=spamassassin-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;h=497a2df67808c47ca484f6db31ee73bf20df0f29;hp=6037ae7b2f22a5718a440e1ff955ac8b6fcc1353;hb=c59439c108f7b2c1df699111f62a7a3483d2896b;hpb=bef3ff37aadef001424fcc9ec855e0371195bc8b diff --git a/debian/postinst b/debian/postinst index 6037ae7..497a2df 100755 --- a/debian/postinst +++ b/debian/postinst @@ -354,7 +354,7 @@ if [ ! -d /etc/spamassassin/sa-update-keys ]; then /etc/spamassassin/sa-update-keys/secring.gpg chmod -R go-rwx /etc/spamassassin/sa-update-keys fi -sa-update --import /etc/spamassassin/sa-keys.pgp \ +sa-update --gpghomedir /etc/spamassassin/sa-update-keys --import /etc/spamassassin/sa-keys.pgp \ >>/var/log/sa-update.log 2>&1 || true # import http://spamassassin.apache.org/updates/GPG.KEY @@ -374,10 +374,10 @@ find /var/lib/spamassassin -iname \*_yerp_\* -print0 | xargs -0r rm -rf sed -i -e '/sought.rules.yerp.org/d' /etc/spamassassin/sa-update.channels # add spamassassin.heinlein-support.de -echo "CN: Adding spamassassin.heinlein-support.de to /etc/spamassassin/sa-update.channels..." -if ! grep -q spamassassin.heinlein-support.de /etc/spamassassin/sa-update.channels; then - echo spamassassin.heinlein-support.de >> /etc/spamassassin/sa-update.channels -fi +#echo "CN: Adding spamassassin.heinlein-support.de to /etc/spamassassin/sa-update.channels..." +#if ! grep -q spamassassin.heinlein-support.de /etc/spamassassin/sa-update.channels; then +# echo spamassassin.heinlein-support.de >> /etc/spamassassin/sa-update.channels +#fi # get/update the rules echo "CN: Downloading new SpamAssassin rules and updating in background"