* Don't create $(localstatedir)/nix/profiles if --disable-init-state

is specified.
This commit is contained in:
Eelco Dolstra 2004-04-22 07:47:41 +00:00
parent b6df68c942
commit d7238bc84e
2 changed files with 1 additions and 3 deletions

View file

@ -18,6 +18,7 @@ init-state:
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/db
$(INSTALL) -d $(DESTDIR)$(localstatedir)/log/nix
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/profiles
$(INSTALL) -d $(DESTDIR)$(prefix)/store
# $(bindir)/nix-store --init
else