Mac installer: revert to using a wrapper application around installer package

svn path=/trunk/boinc/; revision=24720
This commit is contained in:
Charlie Fenton 2011-12-02 15:54:46 +00:00
parent 66b6e7f61f
commit 94919cd091
1 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,8 @@ OSStatus GetFinalAction(CFStringRef *restartValue)
pw = getpwnam(boinc_project_user_name);
if (pw == NULL)
return noErr; // User boinc_project does not exist
boinc_project_uid = pw->pw_uid;
if (pw->pw_gid != boinc_project_gid)
return noErr; // User boinc_project does not have group boinc_project as its primary group