mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
install-multi-user.sh: don't break on Mojave default $HOME
This commit is contained in:
parent
5f6840fbb4
commit
ee62be4d98
@ -484,6 +484,9 @@ EOF
|
||||
|
||||
if [ "$(poly_user_home_get "$username")" = "/var/empty" ]; then
|
||||
row " Home Directory" "/var/empty"
|
||||
# macOS Mojave
|
||||
elif [ "$(poly_user_home_get "$username")" = "/private/var/empty" ]; then
|
||||
row " Home Directory" "/private/var/empty"
|
||||
else
|
||||
poly_user_home_set "$username" "/var/empty"
|
||||
row " Home Directory" "/var/empty"
|
||||
|
Loading…
Reference in New Issue
Block a user