If somebody else also needs to deploy clamav packages automatically, you can add something like this at the end of your installation scripts:
nohup $( command -v systemctl || exit 0 systemctl status clamav-freshclam || systemctl restart clamav-freshclam while [ ! -f /var/lib/clamav/daily.cvd ] do sleep 1 done sleep 5 systemctl status clamav-daemon || systemctl restart clamav-daemon ) >/dev/null 2>&1 &
If somebody else also needs to deploy clamav packages automatically, you can add something like this at the end of your installation scripts:
nohup $( clamav/ daily.cvd ]
command -v systemctl || exit 0
systemctl status clamav-freshclam || systemctl restart clamav-freshclam
while [ ! -f /var/lib/
do
sleep 1
done
sleep 5
systemctl status clamav-daemon || systemctl restart clamav-daemon
) >/dev/null 2>&1 &