Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > media > main-updates > by-pkgid > 53e666ca5a7c9070a7f3979ecaa13e49 > scriptlet

samba-swat-3.0.24-2.7mdv2007.1.x86_64.rpm

POSTIN

/bin/sh
if [ -f /var/lock/subsys/xinetd ]; then
        service xinetd reload >/dev/null 2>&1 || :
fi
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; 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

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