diff options
author | Leo Famulari <leo@famulari.name> | 2016-09-06 14:39:35 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2016-09-06 14:41:48 -0400 |
commit | a7199b7d994433eaabb989690887b921d053d761 (patch) | |
tree | 3bf6bfd984b1eb27db4833ba07d5119c533d7659 | |
parent | 7247ecda0e32387b86bf820fcaeb0a4cb7087189 (diff) | |
download | guix-a7199b7d994433eaabb989690887b921d053d761.tar.gz guix-a7199b7d994433eaabb989690887b921d053d761.zip |
activation: Don't fail if /var/lib exists.
This is a followup to commit 6526d43ea4fb0cd151a0d5e9a072c651c1c963d1.
* gnu/build/activation.scm (activate-user+groups): Use mkdir-p to create
/var/lib.
-rw-r--r-- | gnu/build/activation.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm index 7dc40b0961..1b31dc1538 100644 --- a/gnu/build/activation.scm +++ b/gnu/build/activation.scm @@ -234,7 +234,7 @@ numeric gid or #f." (touch "/etc/group") ;; Allow home directories to be created under /var/lib. - (mkdir "/var/lib") + (mkdir-p "/var/lib") ;; Create the root account so we can use 'useradd' and 'groupadd'. (activate-user (find (match-lambda |