Ludovic Courtès f3f1d0a557
guix system: Make 'init' idempotent again.
This fixes a regression introduced in
df2f6400b1fbc282ef4d6dd7124ea1c17adc23c2: since the new
'register-path' (actually 'reset-timestamps') would make files
read-only, 'delete-file-recursively' would fail to delete them.  Thus,
re-running 'guix system init' on an already-populated store would fail
with a 'delete-file' EPERM.

* guix/scripts/system.scm (copy-item): Use 'lstat' instead of
'file-exists?'.  Call 'make-file-writable' on each directory below
DEST.
2018-07-03 17:50:04 +02:00
..
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-10-19 23:21:49 +02:00
2017-05-03 16:16:17 +02:00
2018-03-27 14:51:44 +02:00
2017-09-28 13:10:11 +02:00
2018-06-13 23:41:21 +02:00
2018-07-03 00:39:10 +02:00