Move to staged build fangfish for signature updates

This commit is contained in:
tabledevil
2024-02-01 13:47:32 +01:00
parent e7fafb7802
commit c4081cd5fd
3 changed files with 138 additions and 17 deletions

View File

@@ -4,6 +4,12 @@ case "${1}" in
echo "stage: ${1}"
clamscan --version
clamconf | sed -ne '/Database information/,/^$/p'
for file in /var/lib/clamav/* ;
do
(clamscan -d $file /proc/cmdline > /dev/null 2>&1) && echo "+ ${file}" || echo "Bad Signaturefile ${file}"
done
echo "$(sigtool --list-sigs | wc -l) Signatures loaded"
;;
scan )
echo "stage: ${1}"