Mac Installer: delete old locale directory to remove "boinc manager.mo" files before installing new "boinc-manager.mo" files (or vice versa).

svn path=/trunk/boinc/; revision=15321
This commit is contained in:
Charlie Fenton 2008-05-28 21:27:24 +00:00
parent e685320684
commit 868b1d5822
2 changed files with 11 additions and 1 deletions

View File

@ -4538,3 +4538,10 @@ Rom May 28 2008
win_build/installerv2/redist/Windows/x64/
boinccas.dll
boinccas95.dll
Charlie May 28 2008
- Mac Installer: delete old locale directory to remove "boinc manager.mo"
files before installing new "boinc-manager.mo" files (or vice versa).
mac_installer/
preinstall

View File

@ -1,7 +1,7 @@
#!/bin/sh
##
# Pre-Install / Pre-Upgrade Script for Macintosh BOINC Manager for OS X revised 9/6/07
# Pre-Install / Pre-Upgrade Script for Macintosh BOINC Manager for OS X revised 5/28/08
##
# If we are replacing an earlier GridRepublic installation, fix the data directory name before installing
@ -15,4 +15,7 @@
rm -fR "/Applications/BOINCManager.app"
rm -fR "/Library/Screen Savers/BOINCSaver.saver"
# Remove any old "BOINC Manager.mo" files before installing "BOINC-Manager.mo" files (or vice-versa)
rm -fR "/Library/Application Support/BOINC Data/locale/"
exit 0