Sophie

Sophie

distrib > CentOS > 5 > i386 > media > os > by-pkgid > 479093c265c0f0927de33557bfbd86b4 > 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