[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: scripts: discover: Remove previous cache file.
From: |
guix-commits |
Subject: |
branch master updated: scripts: discover: Remove previous cache file. |
Date: |
Sun, 20 Dec 2020 04:58:22 -0500 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new ee94cd2 scripts: discover: Remove previous cache file.
ee94cd2 is described below
commit ee94cd265e03d12eeeccf58cbaf74b90008fcd14
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Sun Dec 20 10:56:45 2020 +0100
scripts: discover: Remove previous cache file.
Partially fixes <https://issues.guix.gnu.org/45302>.
* guix/scripts/discover.scm (guix-discover): Remove previous cache files.
---
guix/scripts/discover.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/guix/scripts/discover.scm b/guix/scripts/discover.scm
index 2b5b564..6aade81 100644
--- a/guix/scripts/discover.scm
+++ b/guix/scripts/discover.scm
@@ -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)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: scripts: discover: Remove previous cache file.,
guix-commits <=