mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 10:43:03 +01:00
97 lines
3.4 KiB
Bash
97 lines
3.4 KiB
Bash
#! /bin/sh
|
|
|
|
|
|
# Script to install files from the build/transport area
|
|
|
|
|
|
# cd interbase
|
|
|
|
|
|
|
|
|
|
# The guts of the tranfer of files to /opt and other directories
|
|
|
|
|
|
if [ -d /opt/interbase ]
|
|
then
|
|
rm -fr /opt/interbase
|
|
fi
|
|
mkdir /opt/interbase
|
|
mkdir /opt/interbase/bin
|
|
mkdir /opt/interbase/examples
|
|
mkdir /opt/interbase/help
|
|
mkdir /opt/interbase/include
|
|
mkdir /opt/interbase/intl
|
|
mkdir /opt/interbase/lib
|
|
mkdir /opt/interbase/doc
|
|
mkdir /opt/interbase/UDF
|
|
|
|
cp interbase/bin/gbak /opt/interbase/bin/gbak
|
|
cp interbase/bin/gdef /opt/interbase/bin/gdef
|
|
cp interbase/bin/gds_lock_print /opt/interbase/bin/gds_lock_print
|
|
cp interbase/bin/gfix /opt/interbase/bin/gfix
|
|
cp interbase/bin/gpre /opt/interbase/bin/gpre
|
|
cp interbase/bin/gsec /opt/interbase/bin/gsec
|
|
cp interbase/bin/gsplit /opt/interbase/bin/gsplit
|
|
cp interbase/bin/gstat /opt/interbase/bin/gstat
|
|
cp interbase/bin/nbackup /opt/interbase/bin/nbackup
|
|
cp interbase/bin/isc4.gbak /opt/interbase/bin/isc4.gbak
|
|
cp interbase/bin/isql /opt/interbase/bin/isql
|
|
cp interbase/bin/qli /opt/interbase/bin/qli
|
|
cp interbase/bin/ibmgr.bin /opt/interbase/bin/ibmgr.bin
|
|
#cp interbase/bin/ibmgr /opt/interbase/bin/ibmgr
|
|
cp interbase/bin/ibserver /opt/interbase/bin/ibserver
|
|
cp interbase/bin/ibguard /opt/interbase/bin/ibguard
|
|
|
|
cp interbase/bin/SSchangeRunUser.sh /opt/interbase/bin
|
|
cp interbase/bin/SSrestoreRootRunUser.sh /opt/interbase/bin
|
|
cp interbase/bin/changeDBAPassword.sh /opt/interbase/bin
|
|
|
|
cp interbase/examples/v5/*.[ceh] /opt/interbase/examples
|
|
cp interbase/examples/v5/*.sql /opt/interbase/examples
|
|
cp interbase/examples/v5/*.gbk /opt/interbase/examples
|
|
cp interbase/examples/v5/*.gdb /opt/interbase/examples
|
|
cp interbase/examples/v5/makefile /opt/interbase/examples
|
|
cp interbase/help/help.gbak /opt/interbase/help
|
|
cp interbase/help/help.gdb /opt/interbase/help
|
|
#cp -r interbase/doc /opt/interbase
|
|
cp interbase/interbase.msg /opt/interbase/interbase.msg
|
|
cp interbase/isc4.gdb /opt/interbase/isc4.gdb
|
|
cp interbase/isc_config /opt/interbase/isc_config
|
|
|
|
cp -f interbase/include/gds.h /usr/include/gds.h
|
|
cp -f interbase/include/iberror.h /usr/include/iberror.h
|
|
cp -f interbase/include/ibase.h /usr/include/ibase.h
|
|
|
|
cp interbase/include/gds.f /opt/interbase/include
|
|
cp interbase/include/gds.hxx /opt/interbase/include
|
|
cp interbase/include/*.h /opt/interbase/include
|
|
|
|
cp -f interbase/lib/gds.so.1 /usr/lib/libgds.so.0
|
|
if [ -L /usr/lib/libgds.so ]
|
|
then
|
|
rm -f /usr/lib/libgds.so
|
|
fi
|
|
ln -s libgds.so.0 /usr/lib/libgds.so
|
|
cp -f interbase/lib/ib_util.so /usr/lib/libib_util.so
|
|
cp -f interbase/lib/gds_pyxis.a /usr/lib/libgds_pyxis.a
|
|
|
|
cp interbase/intl/gdsintl /opt/interbase/intl/gdsintl
|
|
cp interbase/UDF/ib_udf /opt/interbase/UDF/ib_udf
|
|
|
|
cp interbase/services.isc /opt/interbase/services.isc
|
|
#cp interbase/license.txt /opt/interbase/license.txt
|
|
#cp interbase/license.html /opt/interbase/license.html
|
|
#cp interbase/ReleaseNotes.pdf /opt/interbase/ReleaseNotes.pdf
|
|
|
|
|
|
cp interbase/README /opt/interbase/README
|
|
cp interbase/firebird /etc/rc.d/init.d
|
|
|
|
# June 23 2000, 6:00AM
|
|
#TIMESTAMP="200006230600.00"
|
|
#cd /opt/interbase/
|
|
#touch -t $TIMESTAMP `find . -print`
|
|
|
|
|