adrian
synced commits to master at adrian/emailwiz from mirror
a46fd7f9d2 Merge pull request #286 from andrewrunxiyu/master
Make it work with Debian 12: spamassassin -> spamd
3474cb609d Make it work with Debian 12: spamassassin -> spamd
This commits checks for /etc/default/spamassassin. If it exists, it's
passed through sed to modify the CRON variable as usual, and
spamassassin.service is enabled and restarted.
If /etc/default/spamassassin does not exist, but /etc/default/spamd
exists, we modify /etc/default/spamd instead, and restart and enable
spamd.service.
This has to be done because Debian 12 introduced this breaking change:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020859
Apologies for my previous commit which introduced a new "README" file
specifically for my fork of the repository. I've modified my patch to
remove it, please accept this version of the patch instead.
Signed-off-by: Andrew Yu <andrew@andrewyu.org>
- Compare 2 commits »
2 months ago