diff options
author | Andrew Yu <andrew@andrewyu.org> | 2023-07-02 13:23:48 +0000 |
---|---|---|
committer | Andrew Yu <andrew@andrewyu.org> | 2023-07-03 22:01:05 +0800 |
commit | 3474cb609db473466294f7a1c3f036b34f6d58be (patch) | |
tree | 3b2b123cf4e88bfb656b44131bfb7ad6408ab620 /FUNDING.yml | |
parent | 8b9e7b1dd591b7305ba9e4aa58d7b69d14dc3e84 (diff) |
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>
Diffstat (limited to 'FUNDING.yml')
0 files changed, 0 insertions, 0 deletions