From 0594e0c64a11c41491bd5187c219d56df5c6e9f4 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 1 Mar 2018 22:39:58 +0100 Subject: [PATCH] add ClamAV --- bash_aliases | 3 +++ bin/install-brew.sh | 3 ++- bin/update-everything.sh | 13 +++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/bash_aliases b/bash_aliases index bcf5bab..d128a3f 100644 --- a/bash_aliases +++ b/bash_aliases @@ -41,3 +41,6 @@ alias hide="defaults write com.apple.Finder AppleShowAllFiles -bool FALSE && kil # When there's need for nyaning around alias nyan="telnet nyancat.dakko.us" + +# Virus scan with ClamAV +alias virusscan="clamscan -r --bell -i /" diff --git a/bin/install-brew.sh b/bin/install-brew.sh index c2b4319..fa657c7 100755 --- a/bin/install-brew.sh +++ b/bin/install-brew.sh @@ -39,7 +39,8 @@ brew install \ yarn \ ipfs \ ethereum \ - parity + parity \ + clamav # Remove outdated versions from the cellar. brew cleanup diff --git a/bin/update-everything.sh b/bin/update-everything.sh index 504a756..c33ffbf 100755 --- a/bin/update-everything.sh +++ b/bin/update-everything.sh @@ -63,6 +63,19 @@ rvm gemset update # cleanup rvm cleanup all + +# +# ClamAV +# ------------- + +echo "" +echo "" +echo "$(tput setaf 3) Update ClamAV Database" +echo "------------------------------$(tput sgr0)" + +freshclam -v + + # # GPG # -------------