scripts: Remove mu-index.
authorRicardo Wurmus <rekado@elephly.net>
Wed, 22 Apr 2020 08:53:48 +0000 (10:53 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Wed, 22 Apr 2020 08:53:48 +0000 (10:53 +0200)
scripts/mumi.in

index 45d034d9a594f34f30c9f258405e6c76296828a4..3297b7965dfab8c919e66caf69fc4bdbbbbd98fa 100644 (file)
 
 ;; Keep indexing the mail directory
 (define %update-interval 60)
-(define mu-index
-  (let ((mu (%config 'mu-executable)))
-    (lambda _
-      (let* ((maildir (%config 'mail-dir))
-             (args (list "index"
-                         "--quiet"
-                         (format #f "--muhome=~a" maildir)
-                         (format #f "--maildir=~a" maildir))))
-        (unless (zero? (apply system* mu args))
-          (format (current-error-port)
-                  "Failed to index `~a'~%" (%config 'mail-dir)))))))
 
 (define* (update-state! #:key loop?)
   (catch #t