Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > eaad3605f7f3a200e55a57cc8cdb4a88 > scriptlet

policycoreutils-1.33.12-14.13.el5.i386.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/sbin/sepolgen-ifgen  > /dev/null 
exit 0

POSTUN

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