smeserver-clamav/root/etc/e-smith/db/configuration/migrate/40clamavDatabaseMirror

8 lines
199 B
Plaintext

{
my $clamav = $DB->get('clamav') or return;
return unless ($clamav->prop('DatabaseMirror') eq 'db.us.clamav.net');
$clamav->set_prop('DatabaseMirror','db.local.clamav.net');
}