From ee94cd265e03d12eeeccf58cbaf74b90008fcd14 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sun, 20 Dec 2020 10:56:45 +0100 Subject: [PATCH 1/1] scripts: discover: Remove previous cache file. Partially fixes . * 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 2b5b564bbe..6aade81ed1 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))))) -- 2.20.1