From 2160a4f77d4ad56cbb7d186c609d42bd5ebf54c4 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 7 Apr 2020 14:30:16 +0200 Subject: scripts: Use update-mboxes!. --- scripts/mumi.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'scripts/mumi.in') diff --git a/scripts/mumi.in b/scripts/mumi.in index e0da257..5a91424 100644 --- a/scripts/mumi.in +++ b/scripts/mumi.in @@ -59,8 +59,16 @@ (lambda _ (catch #t (lambda () - (mu-index) - (update-bug-database!) + (let ((nums (sort (append-map (lambda (package) + (soap-invoke* (%config 'debbugs) + get-bugs + `((package . ,package)))) + (%config 'packages)) >))) + (update-mboxes! nums) + (mu-index) + (update-bug-database! nums)) + (format (current-error-port) + "Sleeping for ~a seconds." %update-interval) (sleep %update-interval) (update-state!)) (lambda args -- cgit v1.2.3