activation: Don't fail if /var/lib exists.

This is a followup to commit 6526d43ea4.

* gnu/build/activation.scm (activate-user+groups): Use mkdir-p to create
/var/lib.
This commit is contained in:
Leo Famulari 2016-09-06 14:39:35 -04:00
parent 7247ecda0e
commit a7199b7d99
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -234,7 +234,7 @@ (define activate-user
(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