2007-09-06 10:20:04 +00:00
|
|
|
#!/bin/sh
|
2006-01-21 12:42:04 +00:00
|
|
|
|
|
|
|
##
|
2008-05-28 21:27:24 +00:00
|
|
|
# Pre-Install / Pre-Upgrade Script for Macintosh BOINC Manager for OS X revised 5/28/08
|
2006-01-21 12:42:04 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
# If we are replacing an earlier GridRepublic installation, fix the data directory name before installing
|
2006-04-17 07:58:19 +00:00
|
|
|
## We don't customize BOINC Data directory name for branding
|
|
|
|
## mv -n "/Library/Application Support/GridRepublic Data" "/Library/Application Support/BOINC Data"
|
2006-01-21 12:42:04 +00:00
|
|
|
|
2006-12-01 06:45:59 +00:00
|
|
|
# Delete old World Community Grid Skins
|
2007-09-05 13:34:47 +00:00
|
|
|
##sudo rm -fR /Library/Application\ Support/BOINC\ Data/skins/World\ Community\ Grid/
|
|
|
|
|
|
|
|
# Remove any old BOINC Manager and BOINC Screen Saver bundles to guarantee a clean install
|
|
|
|
rm -fR "/Applications/BOINCManager.app"
|
|
|
|
rm -fR "/Library/Screen Savers/BOINCSaver.saver"
|
2006-12-01 06:45:59 +00:00
|
|
|
|
2008-05-28 21:27:24 +00:00
|
|
|
# Remove any old "BOINC Manager.mo" files before installing "BOINC-Manager.mo" files (or vice-versa)
|
|
|
|
rm -fR "/Library/Application Support/BOINC Data/locale/"
|
|
|
|
|
2006-01-21 12:42:04 +00:00
|
|
|
exit 0
|