From ad73c56c9d5d6b3275e2c62647a96bb6a79f858c Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sat, 13 Aug 2011 02:29:51 +0000 Subject: [PATCH] Mac installer: Bug fixes for OS 10.7 Lion svn path=/trunk/boinc/; revision=24008 --- mac_build/Mac_SA_Secure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mac_build/Mac_SA_Secure.sh b/mac_build/Mac_SA_Secure.sh index 1ac30f9c66..aa67bfed13 100755 --- a/mac_build/Mac_SA_Secure.sh +++ b/mac_build/Mac_SA_Secure.sh @@ -179,13 +179,13 @@ make_boinc_users # Check whether user is already a member of group boinc_master #dscl . -read /Groups/boinc_master GroupMembership | grep -wq "$(LOGNAME)" -#if [ $? -eq 0 ]; then +#if [ $? -ne 0 ]; then dscl . -merge /groups/boinc_master GroupMembership "$(LOGNAME)" #fi # Check whether user is already a member of group boinc_project #dscl . -read /Groups/boinc_project GroupMembership | grep -wq "$(LOGNAME)" -#if [ $? -eq 0 ]; then +#if [ $? -ne 0 ]; then dscl . -merge /groups/boinc_project GroupMembership "$(LOGNAME)" #fi