8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-25 00:03:03 +01:00
firebird-mirror/builds/install/arch-specific/linux/super/preuninstall.sh.in

28 lines
523 B
Bash
Raw Normal View History

2003-07-09 00:59:57 +02:00
#! /bin/sh
#= Main PreUn ================================================================
2005-04-29 20:24:44 +02:00
stopSuperServerIfRunning
2003-07-09 00:59:57 +02:00
2005-04-29 20:24:44 +02:00
cd $FBRootDir
if [ -f $SecurityDatabase ]
then
cp $SecurityDatabase /tmp
echo "Saved a copy of SecurityDatabase ($SecurityDatabase) in /tmp"
chown root:root /tmp/$SecurityDatabase
chmod 0600 /tmp/$SecurityDatabase
fi
2003-07-09 00:59:57 +02:00
2005-04-29 20:24:44 +02:00
for i in isc_init1* isc_event1* isc_lock1* isc_guard* firebird.log SYSDBA.password
do
if [ -f $i ]
then
rm -f $i
fi
done
2003-07-09 00:59:57 +02:00
2005-04-29 20:24:44 +02:00
rm -f $FBBin/fbmgr