mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
10 lines
293 B
Text
10 lines
293 B
Text
|
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
|
||
|
}
|