Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 975a066724950eacac12d6b9498cc4dd > scriptlet

samba-swat-3.5.3-3.7mdv2010.2.i586.rpm

POSTIN

/bin/sh
if [ -f /var/lock/subsys/xinetd ]; then
        service xinetd reload >/dev/null 2>&1 || :
fi

POSTUN

/bin/sh

# Remove swat entry from xinetd
if [ $1 = 0 -a -f /etc/xinetd.conf ] ; then
rm -f /etc/xinetd.d/swat
	service xinetd reload &>/dev/null || :
fi

if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi