summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/mumi.in12
1 files changed, 10 insertions, 2 deletions
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