Remove option '-t stable-updates' for cronjob updating clamav.
This commit is contained in:
parent
28aec04e5a
commit
cdd108c709
@ -2457,7 +2457,7 @@ if ! grep -i -E "/usr/bin/apt-get\s+.*clamav-daemon" /var/spool/cron/crontabs/ro
|
||||
|
||||
# - Update clamav (and freshclam) software packages
|
||||
# -
|
||||
03 0 * * * /usr/bin/apt-get update > /dev/null ; PATH=/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/apt-get -y install -t stable-updates clamav clamav-base clamav-docs clamav-daemon clamav-freshclam > /dev/null
|
||||
03 0 * * * /usr/bin/apt-get update > /dev/null ; PATH=/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/apt-get -y install clamav clamav-base clamav-docs clamav-daemon clamav-freshclam > /dev/null
|
||||
|
||||
EOF
|
||||
if [[ "$?" -ne 0 ]] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user