13.update_clamav.sh 234 B

1234567891011
  1. #!/bin/bash
  2. # fail if any commands fails
  3. set -e
  4. # debug log
  5. #set -x
  6. cp /usr/local/etc/clamav/freshclam.conf.sample /usr/local/etc/clamav/freshclam.conf
  7. sed -i '' 's/Example/#Example/g' /usr/local/etc/clamav/freshclam.conf
  8. freshclam