summaryrefslogtreecommitdiff
path: root/libre/clamav/install
blob: bfaa566248aca1d8811999a5b0fe440a464dc9ac (plain)
1
2
3
4
5
6
7
8
9
post_upgrade() {
	systemd-tmpfiles --create clamav.conf
}

post_install() {
	getent group clamav &>/dev/null || groupadd -r -g 64 clamav >/dev/null
	getent passwd clamav &>/dev/null || useradd -r -u 64 -g clamav -d /dev/null -s /bin/false -c "Clam AntiVirus" clamav >/dev/null
	post_upgrade
}