Mac Installer: remove boinc.tiff from screensaver because newer ones have boinc.jpg instead; touch new manager and screensaver to alert system that they have new version numbers

svn path=/trunk/boinc/; revision=13546
This commit is contained in:
Charlie Fenton 2007-09-05 13:00:32 +00:00
parent 902b5a4597
commit 3b4f75e529
3 changed files with 24 additions and 2 deletions

View File

@ -8334,8 +8334,14 @@ Charlie 4 Sep 2007
Charlie 5 Sep 2007
- Mac SCR: Do screen blanking in screensaver since CC no longer does it.
- Fix a compiler warning.
- Mac Installer: remove boinc.tiff from screensaver because newer ones
have boinc.jpg instead; touch new manager and screensaver to alert
system that they have new version numbers.
clientscr/
mac_saver_module.cpp
lib/
util.C,h
mac_installer/
postinstall
postupgrade

View File

@ -1,7 +1,7 @@
#!/bin/sh
##
# post-Install Script for Macintosh BOINC Manager for OS X revised 7/11/07
# post-Install Script for Macintosh BOINC Manager for OS X revised 9/5/07
##
echo "initial directory = $PWD"
@ -11,9 +11,17 @@ cd "$1"
echo "new directory = $PWD"
# Remove boinc.tiff from screensaver if present because it conflicts with new boinc.jpg
rm -f "/Library/Screen Savers/BOINCSaver.saver/Contents/Resources/boinc.tiff"
# Run the Postinstall Application
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part1
# Touch the newly installed bundles so OS recognizes new version numbers
touch "/Applications/BOINCManager.app"
touch "/Library/Screen Savers/BOINCSaver.saver"
# Start BOINC
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part2 &
exit 0

View File

@ -1,7 +1,7 @@
#!/bin/sh
##
# post-Upgrade Script for Macintosh BOINC Manager for OS X revised 7/11/07
# post-Upgrade Script for Macintosh BOINC Manager for OS X revised 9/5/07
##
echo "initial directory = $PWD"
@ -11,9 +11,17 @@ cd "$1"
echo "new directory = $PWD"
# Remove boinc.tiff from screensaver if present because it conflicts with new boinc.jpg
rm -f "/Library/Screen Savers/BOINCSaver.saver/Contents/Resources/boinc.tiff"
# Run the Postinstall Application
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part1
# Touch the newly installed bundles so OS recognizes new version numbers
touch "/Applications/BOINCManager.app"
touch "/Library/Screen Savers/BOINCSaver.saver"
# Start BOINC
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part2 &
exit 0