Sophie

Sophie

distrib > Fedora > 14 > i386 > media > os > by-pkgid > 7acef9d077249fd67115d664d1e69ea4 > scriptlet

openslp-server-1.2.1-14.fc12.i686.rpm

PREUN

/bin/sh
# on remove
if [ $1 -eq 0 ]; then
  /sbin/service slpd stop >/dev/null 2>&1 ||:
  /sbin/chkconfig --del slpd
fi

POSTIN

/bin/sh
/sbin/chkconfig --add slpd

POSTUN

/bin/sh
# on upgrade
if [ $1 -gt 0 ]; then
  /sbin/service slpd condrestart >/dev/null 2>&1 ||:
fi