1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 06:52:43 +01:00

Revert "Revert "Merge pull request #2027 from grahamc/backport-linux-multi-user""

This reverts commit 4a7b3d1f4c.
This commit is contained in:
Graham Christensen 2018-04-19 13:55:37 -04:00
parent 0ccf36be35
commit fa44fa36d1
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
5 changed files with 1090 additions and 783 deletions

View file

@ -29,8 +29,15 @@ if [ "$(uname -s)" = "Darwin" ]; then
exit 1
fi
printf '\e[1;31mSwitching to the Multi-User Darwin Installer\e[0m\n'
exec "$self/install-darwin-multi-user"
printf '\e[1;31mSwitching to the Daemon-based Installer\e[0m\n'
exec "$self/install-multi-user"
exit 0
fi
# Linux & Systemd support
if [ "$(uname -s)" = "Linux" ] && [ -e /run/systemd/system ]; then
printf '\e[1;31mSwitching to the Daemon-based Installer\e[0m\n'
exec "$self/install-multi-user"
exit 0
fi