Sophie

Sophie

distrib > Fedora > 20 > x86_64 > by-pkgid > 929a7f601d1e53fcf965fb1caeeb0eab > scriptlet

clamav-update-0.98.5-1.fc20.x86_64.rpm

POSTIN

/bin/sh
test -e /var/log/freshclam.log || {
	touch /var/log/freshclam.log
	/usr/bin/chmod 0664 /var/log/freshclam.log
	/usr/bin/chown root:clamupdate /var/log/freshclam.log
	! test -x /sbin/restorecon || /sbin/restorecon /var/log/freshclam.log
}

Triggers

clamav-update < 0.97.3-1704

/bin/sh
# remove me after F19
! test -x /sbin/restorecon || /sbin/restorecon /var/log/freshclam.log &>/dev/null || :