Mac Installer: Fix failure to auto-launch on OS 10.4.x

svn path=/branches/boinc_core_release_6_12/; revision=22824
This commit is contained in:
Charlie Fenton 2010-12-06 10:26:41 +00:00
parent b957cbf86e
commit 8e5dee37a7
3 changed files with 13 additions and 2 deletions

View File

@ -8186,3 +8186,10 @@ Rom 2 Dec 2010
/ /
configure.ac configure.ac
version.h version.h
Charlie 6 Dec 2010
- Mac Installer: Fix failure to auto-launch on OS 10.4.x.
mac_installer/
postinstall
postupgrade

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
## ##
# post-Install Script for Macintosh BOINC Manager for OS X revised 11/22/10 # post-Install Script for Macintosh BOINC Manager for OS X revised 12/6/10
## ##
echo "initial directory = $PWD" echo "initial directory = $PWD"
@ -21,9 +21,11 @@ fi
if [ "${COMMAND_LINE_INSTALL}" = "1" ]; then if [ "${COMMAND_LINE_INSTALL}" = "1" ]; then
rm -f /tmp/BOINCInstallLog.txt rm -f /tmp/BOINCInstallLog.txt
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part1 >> /tmp/BOINCInstallLog.txt Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part1 >> /tmp/BOINCInstallLog.txt
sleep 2
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part2 & >> /tmp/BOINCInstallLog.txt Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part2 & >> /tmp/BOINCInstallLog.txt
else else
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part1 Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part1
sleep 2
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part2 & Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part2 &
fi fi

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
## ##
# post-Upgrade Script for Macintosh BOINC Manager for OS X revised 11/22/10 # post-Upgrade Script for Macintosh BOINC Manager for OS X revised 12/6/10
## ##
echo "initial directory = $PWD" echo "initial directory = $PWD"
@ -21,9 +21,11 @@ fi
if [ "${COMMAND_LINE_INSTALL}" = "1" ]; then if [ "${COMMAND_LINE_INSTALL}" = "1" ]; then
rm -f /tmp/BOINCInstallLog.txt rm -f /tmp/BOINCInstallLog.txt
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part1 >> /tmp/BOINCInstallLog.txt Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part1 >> /tmp/BOINCInstallLog.txt
sleep 2
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part2 & >> /tmp/BOINCInstallLog.txt Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part2 & >> /tmp/BOINCInstallLog.txt
else else
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part1 Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part1
sleep 2
Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part2 & Contents/Resources/PostInstall.app/Contents/MacOS/PostInstall -part2 &
fi fi