Sophie

Sophie

distrib > Fedora > 14 > i386 > media > updates > by-pkgid > 198c1c400d645082d46630743758df18 > scriptlet

portreserve-0.0.5-2.fc14.i686.rpm

PREUN

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

POSTIN

/bin/sh
# Do this unconditionally to fix up the initscript's start priority.
# Earlier versions had an incorrect dependency (bug #487250).
/sbin/chkconfig --add portreserve

POSTUN

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