2007-07-11 09:51:41 +00:00
|
|
|
#!/bin/sh
|
2005-04-27 12:59:53 +00:00
|
|
|
|
|
|
|
##
|
2010-02-10 10:40:58 +00:00
|
|
|
# post-Upgrade Script for Macintosh BOINC Manager for OS X revised 2/10/10
|
2005-04-27 12:59:53 +00:00
|
|
|
##
|
|
|
|
|
2007-02-20 01:39:26 +00:00
|
|
|
echo "initial directory = $PWD"
|
|
|
|
echo "argument 1 = $1"
|
|
|
|
|
2005-04-27 12:59:53 +00:00
|
|
|
cd "$1"
|
2007-02-20 01:39:26 +00:00
|
|
|
|
|
|
|
echo "new directory = $PWD"
|
|
|
|
|
2010-02-10 10:40:58 +00:00
|
|
|
# Copy acct_mgr_url.xml into BOINC Data directory here so it won't be
|
|
|
|
# deleted if user later runs standard BOINC installer
|
|
|
|
if [ -f "Contents/Resources/acct_mgr_url.xml" ]; then
|
|
|
|
cp -fp Contents/Resources/acct_mgr_url.xml "/Library/Application Support/BOINC Data/acct_mgr_url.xml"
|
|
|
|
fi
|
|
|
|
|
2005-05-21 12:07:21 +00:00
|
|
|
# Run the Postinstall Application
|
2006-06-21 13:09:19 +00:00
|
|
|
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part1
|
|
|
|
|
|
|
|
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part2 &
|
2005-05-22 12:44:44 +00:00
|
|
|
|
|
|
|
exit 0
|