profiles: Only check file contents if the file exists.
authorRicardo Wurmus <rekado@elephly.net>
Tue, 8 Aug 2017 14:05:58 +0000 (16:05 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Wed, 9 Aug 2017 12:46:48 +0000 (14:46 +0200)
commit32b7506c987d8b7281382da4831958a64c048fc1
tree92321b732614430e68a78ce913f206561b0100f4
parent2d9495da23cb110dd70eac67637f8e362133d021
profiles: Only check file contents if the file exists.

* guix/profiles.scm (fonts-dir-file): Check that files exist before using
"empty-file?".
guix/profiles.scm