blob: ed318fea62fea21a6fd0f00f8e450d5616c3fa7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
VVV_HOME="${HOME}/.vvv"
FIREBIRD_HOME="${VVV_HOME}/firebird"
# If Firebird data is missing create a new Firebird folder
mkdir -p "${FIREBIRD_HOME}"
# Initial security database
cp -f /usr/lib/vvv/firebird/security2.fdb "${FIREBIRD_HOME}"
# Use an empty firebird.conf to use the FIREBIRD environment variable
touch "${FIREBIRD_HOME}/firebird.conf"
for _file in /usr/lib/vvv/firebird/firebird.msg \
/usr/lib/vvv/firebird/bin \
/usr/lib/vvv/firebird/intl \
/usr/lib/vvv/firebird/lib*
do
ln -sfn "${_file}" "${FIREBIRD_HOME}/$(basename ${_file})"
done
# Launch application with the new paths
export LD_LIBRARY_PATH="${FIREBIRD_HOME}"
export FIREBIRD="${FIREBIRD_HOME}"
/usr/lib/vvv/vvv
|