They've changed it AGAIN
Mar. 29th, 2008 03:34 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
=== modified file 'scripts/setup.in' --- scripts/setup.in 2008-01-19 12:28:31 +0000 +++ scripts/setup.in 2008-03-29 15:24:01 +0000 @@ -220,32 +220,32 @@ case $os in Mac ) # Apple don't seem to believe in creating a user as a discrete operation - if dscl / -read /Groups/$group >/dev/null 2>&1; then + if dscl . -read /Groups/$group >/dev/null 2>&1; then echo "$group group already exists" else echo "Creating $group group" - gids=$(dscl / -list /Groups PrimaryGroupID|awk '{print $2}') + gids=$(dscl . -list /Groups PrimaryGroupID|awk '{print $2}') gid=$(pick $gids) echo "(picked gid $gid)"
(etc etc). Amusingly this means their own example is now broken.
Last batch of ranting about Apple's hopeless approach to user creation.