mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-11-01 00:20:53 +00:00
The database update script has a line to delete freshclam.dat after the update, but this fails when attempting to update older images that have mirrors.dat or no dat file at all. This issue is compounded by a bug where the -t (--tags) option doesn't work so it tries to update all images every time, and then of course fails on the older ones. This commit has the script try removing freshclam.dat or mirrors.dat and allows it to succeed even if neither exist. |
||
|---|---|---|
| .. | ||
| clamdcheck.sh | ||
| docker-entrypoint.sh | ||
| update_db_image.sh | ||