Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > 4073140486b20fd0c7c58c32a056fa69 > scriptlet

firebird-server-classic-2.1.1.17910.0-2mdv2009.0.i586.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/lib/firebird/tools 2> /dev/null)" == "/usr/lib/firebird/tools-classic" ]; then
		rm -f /usr/lib/firebird/tools
	fi
fi

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

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

POSTIN

/bin/sh
if test ! -e /usr/lib/firebird/tools; then
	ln -s /usr/lib/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