Skip to content

Commit

Permalink
install-multi-user.sh: don't break on Mojave default $HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed May 15, 2019
1 parent 5f6840f commit ee62be4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/install-multi-user.sh
Expand Up @@ -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"
Expand Down

0 comments on commit ee62be4

Please sign in to comment.