]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WwwText.pm
config: support "inboxdir" in addition to "mainrepo"
[public-inbox.git] / lib / PublicInbox / WwwText.pm
index 491f7e63da209bceebf1d7c4b15d00a7c8583b30..1c7b92bd466e5a1a5aeeeee97fc950a413a3184c 100644 (file)
@@ -145,9 +145,12 @@ sub inbox_config ($$$) {
 ; see public-inbox-config(5) manpage for more details:
 ; https://public-inbox.org/public-inbox-config.html
 [publicinbox "$name"]
+       inboxdir = /path/to/top-level-inbox
+       ; note: public-inbox before v1.2.0 used "mainrepo"
+       ; instead of "inboxdir", both remain supported after 1.2
        mainrepo = /path/to/top-level-inbox
 EOS
-       for my $k (qw(address)) {
+       for my $k (qw(address listid)) {
                defined(my $v = $ibx->{$k}) or next;
                $$txt .= "\t$k = $_\n" for @$v;
        }