Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 1840e1f061d4543bc35cf33ea72eb707 > scriptlet

netatalk-2.1.3-1.fc14.x86_64.rpm

PREUN

/bin/sh
if [ "$1" = "0" ] ; then
  # check for existence due to renaming initscritp
  if [ -x  /etc/rc.d/init.d/netatalk ] ; then
    /sbin/service netatalk stop > /dev/null 2>&1
    /sbin/chkconfig --del netatalk
  fi
fi

POSTIN

/bin/sh
/sbin/chkconfig --add netatalk
/sbin/ldconfig

POSTUN

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