mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 23:23:02 +01:00
Fixed CORE-2392: install cleanup for 2.5 beta1
This commit is contained in:
parent
34e154d65a
commit
920c4a57d7
@ -44,7 +44,7 @@
|
||||
echo "Saved a copy of $SecurityDatabase in /tmp"
|
||||
fi
|
||||
|
||||
for i in isc_*1.* firebird.log SYSDBA.password
|
||||
for i in fb_guard firebird.log SYSDBA.password
|
||||
do
|
||||
if [ -f $i ]
|
||||
then
|
||||
|
@ -257,9 +257,9 @@ cd $InstallFirebirdPrefix
|
||||
|
||||
# Lock files
|
||||
|
||||
for i in isc_init1 isc_lock1 isc_event1 isc_monitor1
|
||||
for i in fb_guard
|
||||
do
|
||||
FileName=$i.`hostname`
|
||||
FileName=$i
|
||||
touch $FileName
|
||||
chmod ug=rw,o= $FileName
|
||||
chown firebird:firebird $FileName
|
||||
|
@ -44,7 +44,7 @@
|
||||
echo "Saved a copy of $SecurityDatabase in /tmp"
|
||||
fi
|
||||
|
||||
for i in isc_*1.* firebird.log SYSDBA.password
|
||||
for i in fb_guard firebird.log SYSDBA.password
|
||||
do
|
||||
if [ -f $i ]
|
||||
then
|
||||
|
@ -35,7 +35,7 @@ if [ -f $SecurityDatabase ]; then
|
||||
chmod 0600 /tmp/$SecurityDatabase
|
||||
fi
|
||||
|
||||
for i in isc_*1* firebird.log SYSDBA.password; do
|
||||
for i in fb_guard firebird.log SYSDBA.password; do
|
||||
if [ -f $i ]; then
|
||||
rm -f $i
|
||||
fi
|
||||
|
@ -264,9 +264,9 @@ cd @prefix@
|
||||
|
||||
# Lock files
|
||||
|
||||
for i in isc_init1 isc_lock1 isc_event1 isc_monitor1
|
||||
for i in fb_guard
|
||||
do
|
||||
FileName=$i.`hostname`
|
||||
FileName=$i
|
||||
touch $FileName
|
||||
chmod ug=rw,o= $FileName || exit
|
||||
chown firebird:firebird $FileName || exit
|
||||
|
@ -759,9 +759,9 @@ fixFilePermissions() {
|
||||
|
||||
# Lock files
|
||||
cd $FBRootDir
|
||||
for i in init1 lock1 event1 guard1 monitor1 sem1
|
||||
for i in fb_guard
|
||||
do
|
||||
FileName=isc_$i.`hostname`
|
||||
FileName=$i
|
||||
touch $FileName
|
||||
MakeFileFirebirdWritable $FileName
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user