Mac Installer: Don't perform user and group conflict check on OS 10.3.9 because it is not needed and produces false positives on that OS

svn path=/branches/boinc_core_release_6_8/; revision=20524
This commit is contained in:
Charlie Fenton 2010-02-11 03:15:26 +00:00
parent 0f94e5caa0
commit f2d6bb7702
2 changed files with 12 additions and 0 deletions

View File

@ -6631,3 +6631,10 @@ Charlie 10 Feb 2010
mac_installer/
PostInstall.cpp
Charlie 10 Feb 2010
- Mac Installer: Don't perform user and group conflict check on OS 10.3.9 because it
is not needed and produces false positives on that OS.
mac_installer/
PostInstall.cpp

View File

@ -607,6 +607,11 @@ void CheckUserAndGroupConflicts()
char cmd[256], buf[256];
int entryCount;
// "dscl . -search /Groups PrimaryGroupID xx" returned a different format before OS 10.4
if (OSVersion < 0x1040) {
return;
}
entryCount = 0;
grp = getgrnam(boinc_master_group_name);
if (grp) {