smeserver-clamav-unofficial.../root/etc/e-smith/events/actions/clamav-unofficial-sigs-init

7 lines
343 B
Plaintext
Raw Normal View History

#!/bin/bash
# create missing folder to avoid error
# see https://github.com/extremeshok/clamav-unofficial-sigs/pull/390 https://github.com/extremeshok/clamav-unofficial-sigs/pull/400
mkdir -p /var/lib/clamav-unofficial-sigs/dbs-uh
mkdir -p /var/lib/clamav-unofficial-sigs/dbs-yara
chown clamupdate:clamupdate /var/lib/clamav-unofficial-sigs/*