Update v-commander

This commit is contained in:
myvesta 2024-03-08 15:49:33 +01:00 committed by GitHub
commit 6819f21c3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -274,6 +274,7 @@ do
if [ "$answer" = 'dis spam' ] || [ "$answer" = 'DIS SPAM' ]; then if [ "$answer" = 'dis spam' ] || [ "$answer" = 'DIS SPAM' ]; then
echo "=============================" echo "============================="
echo "== disabling SpamAssassin" echo "== disabling SpamAssassin"
release=$(cat /etc/debian_version | tr "." "\n" | head -n1)
if [ "$release" -lt 12 ]; then if [ "$release" -lt 12 ]; then
systemctl stop spamassassin.service systemctl stop spamassassin.service
systemctl disable spamassassin.service systemctl disable spamassassin.service