HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f997834
)
scripts: discover: Remove previous cache file.
author
Mathieu Othacehe
<othacehe@gnu.org>
Sun, 20 Dec 2020 09:56:45 +0000
(10:56 +0100)
committer
Mathieu Othacehe
<othacehe@gnu.org>
Sun, 20 Dec 2020 09:56:45 +0000
(10:56 +0100)
Partially fixes <https://issues.guix.gnu.org/45302>.
* guix/scripts/discover.scm (guix-discover): Remove previous cache files.
guix/scripts/discover.scm
patch
|
blob
|
blame
|
history
diff --git
a/guix/scripts/discover.scm
b/guix/scripts/discover.scm
index
2b5b564
..
6aade81
100644
(file)
--- 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)))))