1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/databases/firebird20-server/scripts/pre-install
Will Andrews cca71f50d2 Add firebird 0.9, the open-source InterBase(tm) 6.0 spin-off
(Classic version).

PR:		24313
Submitted by:	Geoffrey C. Speicher <geoff@sea-incorporated.com>
2001-03-10 20:32:33 +00:00

21 lines
359 B
Bash

#!/bin/sh
if [ -d $PREFIX/firebird ]; then
if [ -d $PREFIX/firebird.old ]; then
rm -rf $PREFIX/firebird.old
fi
mv $PREFIX/firebird $PREFIX/firebird.old
fi
if [ -L /usr/interbase ]; then
rm -f /usr/interbase
fi
if [ -d /usr/interbase ]; then
mv /usr/interbase /usr/interbase.old
fi
ln -fs $PREFIX/firebird /usr/interbase
perl $SCRIPTDIR/createuser