preupgrade-script (Firebird-3.0.2.32703-0.tar.bz2) | : | preupgrade-script (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 13 | skipping to change at line 13 | |||
# Script args: | # Script args: | |||
# $0: full path to script | # $0: full path to script | |||
# $1: full path to top level package dir, no trailing slash | # $1: full path to top level package dir, no trailing slash | |||
# $2: full path to installed location | # $2: full path to installed location | |||
# $3: ????? Path to install Volume???? | # $3: ????? Path to install Volume???? | |||
# $4: ????? | # $4: ????? | |||
FB_FW="/Library/Frameworks/Firebird.framework" | FB_FW="/Library/Frameworks/Firebird.framework" | |||
FB_UDF="/Library/Frameworks/Firebird.framework/Resources/English.lproj/var/UDF" | FB_UDF="/Library/Frameworks/Firebird.framework/Resources/English.lproj/var/UDF" | |||
if test -f "$FB_FW/Versions/A/Resources/English.lproj/var/isc4.gdb"; then | ||||
mv -f "$FB_FW/Versions/A/Resources/English.lproj/var/isc4.gdb" /tmp/fb-se | ||||
curity-database-update.fdb | ||||
fi | ||||
if test -f "$FB_FW/Versions/A/Resources/English.lproj/var/security.fdb"; then | ||||
mv -f "$FB_FW/Versions/A/Resources/English.lproj/var/security.fdb" /tmp/f | ||||
b-security-database-update.fdb | ||||
fi | ||||
if test -f "$FB_FW/Versions/A/Resources/English.lproj/var/security2.fdb"; then | if test -f "$FB_FW/Versions/A/Resources/English.lproj/var/security2.fdb"; then | |||
mv -f "$FB_FW/Versions/A/Resources/English.lproj/var/security2.fdb" /tmp/ fb-security-database-update2.fdb | mv -f "$FB_FW/Versions/A/Resources/English.lproj/var/security2.fdb" /tmp/ fb-security-database-update2.fdb | |||
fi | fi | |||
if test -f "$FB_FW/Versions/A/Resources/English.lproj/var/aliases.conf"; then | if test -f "$FB_FW/Versions/A/Resources/English.lproj/var/aliases.conf"; then | |||
mv -f "$FB_FW/Versions/A/Resources/English.lproj/var/aliases.conf" /tmp/f b-aliases.conf | mv -f "$FB_FW/Versions/A/Resources/English.lproj/var/aliases.conf" /tmp/f b-aliases.conf | |||
fi | fi | |||
if test -f "$FB_FW/Versions/A/Resources/English.lproj/var/databases.conf"; then | ||||
mv -f "$FB_FW/Versions/A/Resources/English.lproj/var/databases.conf" /tmp | ||||
/fb-databases.conf | ||||
fi | ||||
rm $FB_UDF/fbudf* | rm $FB_UDF/fbudf* | |||
rm $FB_UDF/ib_udf* | rm $FB_UDF/ib_udf* | |||
mkdir /tmp/UDF_save | mkdir /tmp/UDF_save | |||
cp $FB_UDF/*.* /tmp/UDF_save | cp $FB_UDF/*.* /tmp/UDF_save | |||
if [ -f /Library/StartupItems/Firebird/Firebird ]; then | if [ -f /Library/StartupItems/Firebird/Firebird ]; then | |||
/Library/StartupItems/Firebird/Firebird stop | /Library/StartupItems/Firebird/Firebird stop | |||
rm -fr /Library/StartupItems/Firebird | rm -fr /Library/StartupItems/Firebird | |||
fi | fi | |||
End of changes. 2 change blocks. | ||||
10 lines changed or deleted | 5 lines changed or added |