Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 71e0b0033990cc33950a8a795d6a705e > scriptlet

clamav-update-0.98-2.fc18.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 || :