Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > by-pkgid > 6ed1def382fa6220e1dcb1d527fa9c02 > scriptlet

clamav-0.100.2-1.mga7.x86_64.rpm

PREIN

/bin/sh
/usr/share/rpm-helper/add-user clamav $1 clamav /var/lib/clamav /bin/sh 


if ! [ -z "`getent group amavis`" ]; then
    gpasswd -a clamav amavis
fi

PREUN

/bin/sh
/usr/share/rpm-helper/del-service clamav $1 freshclam

POSTIN

/bin/sh
/usr/bin/systemd-tmpfiles --create clamav.conf 

/usr/share/rpm-helper/add-service clamav $1 freshclam 

/usr/share/rpm-helper/create-file clamav $1 /var/log/clamav/freshclam.log clamav clamav 0644