mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 06:52:43 +01:00
Revert "Merge pull request #2027 from grahamc/backport-linux-multi-user"
This reverts commita198670ab2, reversing changes made toa1cc741d9c. For the stable release branch, we can't really change the fundamental behaviour of the installer (i.e. by doing a multi-user install on Linux).
This commit is contained in:
parent
33dc83821d
commit
4a7b3d1f4c
5 changed files with 785 additions and 1093 deletions
|
|
@ -29,15 +29,8 @@ if [ "$(uname -s)" = "Darwin" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
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"
|
||||
printf '\e[1;31mSwitching to the Multi-User Darwin Installer\e[0m\n'
|
||||
exec "$self/install-darwin-multi-user"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue