about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-01-03T21·29+0100
committerDaiderd Jordan <daiderd@gmail.com>2018-01-03T21·29+0100
commit27788f406078489b2fc04749ebb86e267a19a6a5 (patch)
tree51435fb01c492bfa1e747ff2f90fd06d989d6a1e
parente297aa7b1cf2a93edb5e3f89efa390a67b329565 (diff)
installer: don't touch /etc/profile
The default profile already loads /etc/bashrc.
-rw-r--r--scripts/install-darwin-multi-user.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-darwin-multi-user.sh b/scripts/install-darwin-multi-user.sh
index 7bd00e42b975..91194a299a9a 100644
--- a/scripts/install-darwin-multi-user.sh
+++ b/scripts/install-darwin-multi-user.sh
@@ -33,7 +33,7 @@ readonly NIX_FIRST_BUILD_UID="30001"
 readonly NIX_ROOT="/nix"
 readonly PLIST_DEST=/Library/LaunchDaemons/org.nixos.nix-daemon.plist
 
-readonly PROFILE_TARGETS=("/etc/profile" "/etc/bashrc" "/etc/zshrc")
+readonly PROFILE_TARGETS=("/etc/bashrc" "/etc/zshrc")
 readonly PROFILE_BACKUP_SUFFIX=".backup-before-nix"
 readonly PROFILE_NIX_FILE="$NIX_ROOT/var/nix/profiles/default/etc/profile.d/nix-daemon.sh"