From 868b1d58229d39f3b233d552b55dfe4d32b38863 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 28 May 2008 21:27:24 +0000 Subject: [PATCH] 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 --- checkin_notes | 7 +++++++ mac_installer/preinstall | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index ed13fb3269..27b8408da7 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/mac_installer/preinstall b/mac_installer/preinstall index 21b9a627d4..c9763dc173 100644 --- a/mac_installer/preinstall +++ b/mac_installer/preinstall @@ -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