about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-10-09T16·05+0200
committerEelco Dolstra <edolstra@gmail.com>2019-10-09T21·57+0200
commit923b6bd83c0ef36213d9c56f0d30a3221941fdeb (patch)
treee17fbc46b321522920ad383a6569565c006a5c00
parent65953789bcd73f098486b0a385b4e661c0ccda19 (diff)
Remove some redundant initialization
(cherry picked from commit c43d9f6131102f2761f22b1ec26f345d357f169c)
-rw-r--r--scripts/install-multi-user.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/install-multi-user.sh b/scripts/install-multi-user.sh
index 2ebaa1abaff6..654cfd239b9d 100644
--- a/scripts/install-multi-user.sh
+++ b/scripts/install-multi-user.sh
@@ -540,12 +540,6 @@ create_directories() {
     _sudo "to make the basic directory structure of Nix (part 3)" \
           chgrp "$NIX_BUILD_GROUP_NAME" /nix/store
 
-    _sudo "to set up the root user's profile (part 1)" \
-          mkdir -pv -m 0755 /nix/var/nix/profiles/per-user/root
-
-    _sudo "to set up the root user's profile (part 2)" \
-          mkdir -pv -m 0700 "$ROOT_HOME/.nix-defexpr"
-
     _sudo "to place the default nix daemon configuration (part 1)" \
           mkdir -pv -m 0555 /etc/nix
 }