mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 15:23:02 +01:00
Install firebird.conf to installation root on Linux
This commit is contained in:
parent
938f0a2f0f
commit
b509cd309c
@ -30,7 +30,7 @@
|
||||
# Contributor(s):
|
||||
#
|
||||
#
|
||||
# $Id: makeInstallImage.sh.in,v 1.9 2003-04-03 21:41:07 skidder Exp $
|
||||
# $Id: makeInstallImage.sh.in,v 1.10 2003-04-28 19:48:20 skidder Exp $
|
||||
#
|
||||
|
||||
# Script to copy install files from the build/transport area
|
||||
@ -166,7 +166,7 @@ copyFiles() {
|
||||
cp $BuildRootDir/doc/README.user $DestDir/README
|
||||
|
||||
cp $BuiltFBDir/misc/firebird.xinetd $DestDir/misc/firebird.xinetd
|
||||
cp $BuiltFBDir/misc/firebird.conf $DestDir/misc/firebird.conf
|
||||
cp $BuiltFBDir/misc/firebird.conf $DestDir/firebird.conf
|
||||
|
||||
|
||||
# Create links from /usr/lib to install area.
|
||||
|
@ -31,7 +31,7 @@
|
||||
# Contributor(s):
|
||||
#
|
||||
#
|
||||
# $Id: postinstall.sh.in,v 1.7 2003-04-03 21:41:07 skidder Exp $
|
||||
# $Id: postinstall.sh.in,v 1.8 2003-04-28 19:48:22 skidder Exp $
|
||||
#
|
||||
|
||||
# The post install script for Firebird Classic
|
||||
@ -590,30 +590,6 @@ buildUninstallFile() {
|
||||
fi
|
||||
}
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
# UpdateConfigFile
|
||||
# Ensure a configuration file /etc/firebird.conf exists.
|
||||
# save the original one if required.
|
||||
|
||||
updateConfigFile() {
|
||||
|
||||
configFile=/etc/firebird.conf
|
||||
|
||||
if [ -f $configFile ]
|
||||
then
|
||||
ArchiveDateTag=`date +"%Y%m%d_%H%M"`
|
||||
|
||||
saveConfigFile=$configFile.$ArchiveDateTag
|
||||
echo "saving previous $configFile as $saveConfigFile"
|
||||
cp $configFile $configFile.$ArchiveDateTag
|
||||
fi
|
||||
|
||||
cp $FBRootDir/misc/firebird.conf $configFile
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
# resetXinitdServer
|
||||
# Check for both inetd and xinetd, only one will actually be running.
|
||||
@ -726,7 +702,6 @@ createLinksForBackCompatibility() {
|
||||
fixFilePermissions
|
||||
fi
|
||||
|
||||
updateConfigFile
|
||||
createLinksForBackCompatibility
|
||||
|
||||
buildUninstallFile
|
||||
|
@ -31,7 +31,7 @@
|
||||
# Contributor(s):
|
||||
#
|
||||
#
|
||||
# $Id: preinstall.sh.in,v 1.3 2003-03-20 11:11:51 aafemt Exp $
|
||||
# $Id: preinstall.sh.in,v 1.4 2003-04-28 19:48:23 skidder Exp $
|
||||
#
|
||||
|
||||
|
||||
@ -245,7 +245,7 @@ archivePriorInstallSystemFilesX() {
|
||||
fi
|
||||
done
|
||||
|
||||
for i in usr/sbin/rcfirebird etc/init.d/firebird etc/rc.d/init.d/firebird etc/firebird.conf
|
||||
for i in usr/sbin/rcfirebird etc/init.d/firebird etc/rc.d/init.d/firebird
|
||||
do
|
||||
DestFile=$i
|
||||
if [ -e $DestFile ]
|
||||
@ -319,19 +319,6 @@ archivePriorInstallSystemFiles() {
|
||||
deleteFileList="$archiveFileList"
|
||||
|
||||
|
||||
# The following files want to be archived just in case but are not deleted
|
||||
# since they are a little special and are handled specially in the install
|
||||
|
||||
for i in etc/firebird.conf
|
||||
do
|
||||
DestFile=./$i
|
||||
if [ -e /$DestFile ]
|
||||
then
|
||||
archiveFileList="$archiveFileList $DestFile"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
DestFile="$FBRootDir"
|
||||
|
||||
if [ ! -z "$archiveFileList" ]
|
||||
|
Loading…
Reference in New Issue
Block a user