config: Remove mail-dir.
authorRicardo Wurmus <rekado@elephly.net>
Wed, 22 Apr 2020 09:01:24 +0000 (11:01 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Wed, 22 Apr 2020 09:01:24 +0000 (11:01 +0200)
mumi/config.scm.in

index 2ee0bde568bbd1a76465f1ade2ff452af66fa3e1..1d1616958e903a30b4705eecca93c901cab66d4c 100644 (file)
                                     (if (string-prefix? "${prefix}" dir)
                                         (string-replace dir "@prefix@"
                                                         0 (string-length "${prefix}"))
-                                        dir)))))
-           (mail-dir . ,(let ((maybe-dir
-                               (string-append (getcwd) "/mails")))
-                          (if (and (getenv "MUMI_UNINSTALLED")
-                                   (file-exists? maybe-dir))
-                              maybe-dir
-                              (let ((dir "@localstatedir@/mumi/mails"))
-                                (if (string-prefix? "${prefix}" dir)
-                                    (string-replace dir "@prefix@"
-                                                    0 (string-length "${prefix}"))
-                                    dir)))))
+                                        dir))))) 
            (data-dir . ,(let ((maybe-dir
                                (string-append (getcwd) "/data")))
                           (if (and (getenv "MUMI_UNINSTALLED")