Sophie

Sophie

distrib > Mandriva > 8.1 > i586 > by-pkgid > cbf0187f2b34d88774808dc8114c0173 > scriptlet

xinetd-2.3.3-4mdk.i586.rpm

PREUN

/bin/sh
if [ $1 = 0 ]; then service xinetd stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del xinetd; fi;

POSTIN

/bin/sh
update-alternatives --install /usr/sbin/xinetd xinetd /usr/sbin/xinetd-2.3.3 10
if [ $1 = 1 ]; then /sbin/chkconfig --add xinetd; else if [ -f /var/lock/subsys/xinetd ]; then service xinetd restart > /dev/null 2>/dev/null || : ; fi; fi;

POSTUN

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