Skip to content

Instantly share code, notes, and snippets.

@floehopper
Last active September 27, 2017 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floehopper/41054c3ade7e9e8fc15ebb35b8f03453 to your computer and use it in GitHub Desktop.
Save floehopper/41054c3ade7e9e8fc15ebb35b8f03453 to your computer and use it in GitHub Desktop.
Install clamav for GOV.UK Asset Manager, etc
brew install clamav
# Create usable config file based on sample
sed 's/^Example$/# Example/' /usr/local/etc/clamav/freshclam.conf.sample > /usr/local/etc/clamav/freshclam.conf
# Fetch virus definitions
freshclam
cd ~/bin # (this is on my PATH)
which clamscan # => /usr/local/bin/clamscan
ln -s /usr/local/bin/clamscan govuk_clamscan
chmod +x govuk_clamscan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment