Merge pull request #1586 from acowley/patch-2
install-darwin-multi-user: relax assumption check
This commit is contained in:
commit
29205e0218
|
@ -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