Sophie

Sophie

distrib > Fedora > 17 > i386 > by-pkgid > 25d2e4f9495e26ee9fbabbf09a79425d > scriptlet

clamav-update-0.97.8-2.fc17.i686.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 || :