#!/bin/bash
sudo pacman -S clamav

sudo cp -fr ./clamav-sudoer /etc/sudoers.d/clamav
sudo cp -fr ./clamd.conf /etc/clamav/clamd.conf
sudo cp -fr ./virus-event.bash /etc/clamav/virus-event.bash
sudo cp -fr ./clamav-clamonacc.service /usr/lib/systemd/system/clamav-clamonacc.service
#aa-complain clamd
sudo systemctl enable clamav-clamonacc.service
sudo systemctl enable clamav-daemon.service 
sudo systemctl enable clamav-freshclam.service 
sudo systemctl enable clamav-freshclam-once.timer 
freshclam
reboot
