Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > 0b358ef6430307acf43134c7e62a41e5 > scriptlet

firebird-server-classic-2.1.2.18118.0-2mdv2009.1.x86_64.rpm

PREUN

/bin/sh
if [ $1 -eq 0 ]; then
	if /sbin/service xinetd status >& /dev/null; then
		/sbin/service xinetd reload
	fi
	if [ "$(readlink /usr/lib64/firebird/tools 2> /dev/null)" == "/usr/lib64/firebird/tools-classic" ]; then
		rm -f /usr/lib64/firebird/tools
	fi
fi

# -----------------------------------------------------------------------------

# -----------------------------------------------------------------------------
# server-superserver scripts
# -----------------------------------------------------------------------------

POSTIN

/bin/sh
if test ! -e /usr/lib64/firebird/tools; then
	ln -s /usr/lib64/firebird/tools{-classic,}
fi
if /sbin/service xinetd status >& /dev/null; then
	/sbin/service xinetd reload
fi
if [ ! -f /etc/gds_hosts.equiv ]; then
	echo localhost > /etc/gds_hosts.equiv
fi