mirror of https://github.com/BOINC/boinc.git
Mac installer: Bug fixes for OS 10.7 Lion
svn path=/trunk/boinc/; revision=24008
This commit is contained in:
parent
c0fdc53b22
commit
ad73c56c9d
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue