Mac installer: Bug fixes for OS 10.7 Lion

svn path=/trunk/boinc/; revision=24008
This commit is contained in:
Charlie Fenton 2011-08-13 02:29:51 +00:00
parent c0fdc53b22
commit ad73c56c9d
1 changed files with 2 additions and 2 deletions

View File

@ -179,13 +179,13 @@ make_boinc_users
# Check whether user is already a member of group boinc_master # Check whether user is already a member of group boinc_master
#dscl . -read /Groups/boinc_master GroupMembership | grep -wq "$(LOGNAME)" #dscl . -read /Groups/boinc_master GroupMembership | grep -wq "$(LOGNAME)"
#if [ $? -eq 0 ]; then #if [ $? -ne 0 ]; then
dscl . -merge /groups/boinc_master GroupMembership "$(LOGNAME)" dscl . -merge /groups/boinc_master GroupMembership "$(LOGNAME)"
#fi #fi
# Check whether user is already a member of group boinc_project # Check whether user is already a member of group boinc_project
#dscl . -read /Groups/boinc_project GroupMembership | grep -wq "$(LOGNAME)" #dscl . -read /Groups/boinc_project GroupMembership | grep -wq "$(LOGNAME)"
#if [ $? -eq 0 ]; then #if [ $? -ne 0 ]; then
dscl . -merge /groups/boinc_project GroupMembership "$(LOGNAME)" dscl . -merge /groups/boinc_project GroupMembership "$(LOGNAME)"
#fi #fi