me
/
guix
Archived
1
0
Fork 0

scripts: discover: Remove previous cache file.

Partially fixes <https://issues.guix.gnu.org/45302>.

* guix/scripts/discover.scm (guix-discover): Remove previous cache files.
master
Mathieu Othacehe 2020-12-20 10:56:45 +01:00
parent f9978346e7
commit ee94cd265e
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 1 additions and 0 deletions

View File

@ -137,5 +137,6 @@ to synchronize with the writer."
(publish-file (publish-file cache)))
(parameterize ((%publish-file publish-file))
(mkdir-p (dirname publish-file))
(false-if-exception (delete-file publish-file))
(avahi-browse-service-thread service-proc
#:types %services)))))