Sophie

Sophie

distrib > Fedora > 14 > i386 > media > os > by-pkgid > 8491b98be1a1dcd0e31b13a503c157d8 > scriptlet

portreserve-0.0.4-5.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