mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Merge pull request #1586 from acowley/patch-2
install-darwin-multi-user: relax assumption check
This commit is contained in:
commit
29205e0218
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ EOF
|
|||
|
||||
for file in ~/.bash_profile ~/.bash_login ~/.profile ~/.zshenv ~/.zprofile ~/.zshrc ~/.zlogin; do
|
||||
if [ -f "$file" ]; then
|
||||
if grep -l ".nix-profile" "$file"; then
|
||||
if grep -l "^[^#].*.nix-profile" "$file"; then
|
||||
failure <<EOF
|
||||
I found a reference to a ".nix-profile" in $file.
|
||||
This has a high chance of breaking a new nix installation. It was most
|
||||
|
|
Loading…
Reference in a new issue