Sophie

Sophie

distrib > Fedora > 14 > i386 > media > updates > by-pkgid > c2d5ababb5e067b215a58b8a5ff82660 > scriptlet

policycoreutils-2.0.85-30.3.fc14.i686.rpm

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add restorecond
exit 0

POSTUN

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