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