Last active
September 27, 2017 10:56
-
-
Save floehopper/41054c3ade7e9e8fc15ebb35b8f03453 to your computer and use it in GitHub Desktop.
Install clamav for GOV.UK Asset Manager, etc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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