install_amavis.sh: fix error in adding SecuriteInfo signatures to freshclam.conf.

This commit is contained in:
Christoph 2024-09-18 19:37:54 +02:00
parent 3eb53b5463
commit 6c3c0c596b

View File

@ -118,7 +118,7 @@ DEFAULT_DB_IN_USE=false
DEFAULT_INSTALL_CLAMAV_UNOFFICIAL_SIGS=true
DEFAULT_MALWARE_PATROL_IN_USE=true
DEFAULT_MALWARE_PATROL_IN_USE=false
DEFAULT_MALWERE_PATROL_FREE=false
DEFAULT_MP_RECEIPT_NUMBER=106015125438
@ -2961,7 +2961,7 @@ if $SECURITE_INFO_IN_USE ; then
if [[ -f "/etc/clamav/freshclam.conf" ]] ; then
_done=false
for signatur_database in $SI_SIGNATUR_DATABASES do
for signatur_database in $SI_SIGNATUR_DATABASES ; do
if ! $(grep -q -E "DatabaseCustomURL\s+https://www.securiteinfo.com.*${signatur_database}" "/etc/clamav/freshclam.conf" 2>/dev/null) ; then