Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > contrib-release > by-pkgid > 8c220b8a8beaef22ee3fec2a3f6019f3 > scriptlet

policycoreutils-2.0.34-1mdv2008.1.x86_64.rpm

PREUN

/bin/sh
if [ $1 -eq 0 ]; then
   /sbin/service restorecond stop > /dev/null 2>&1
   /sbin/chkconfig --del restorecond
fi

POSTIN

/bin/sh
/sbin/chkconfig --add restorecond
[ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen  > /dev/null 
/usr/bin/sepolgen-ifgen  > /dev/null
exit 0

POSTUN

/bin/sh
if [ "$1" -ge "1" ]; then 
   [ -x /sbin/service ] && /sbin/service restorecond condrestart  > /dev/null
fi