mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 22:42:41 +01:00
install-multi-user.sh: don't break on Mojave default $HOME
This commit is contained in:
parent
5f6840fbb4
commit
ee62be4d98
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue