about summary refs log tree commit homepage
path: root/scripts
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-14 03:02:42 +0000
committerEric Wong <e@80x24.org>2016-05-14 03:02:42 +0000
commitf850effe0baef8a37ad2eef3ef581b79539cc304 (patch)
treea48cd68e39795771c280b2cf8ecdf8e1595a0264 /scripts
parent9bfe40e7a4ace33fe3bd31e8589703fa5ef53d2a (diff)
downloadpublic-inbox-f850effe0baef8a37ad2eef3ef581b79539cc304.tar.gz
A public-inbox is NOT necessarily a mailing list, but it
could serve as an input point for zero, one, or infinite
mailing lists :D
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/import_maildir4
-rwxr-xr-xscripts/import_slrnspool4
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/import_maildir b/scripts/import_maildir
index aaabe80d..c87ca1b2 100755
--- a/scripts/import_maildir
+++ b/scripts/import_maildir
@@ -9,8 +9,8 @@
         export ORIGINAL_RECIPIENT='list@example.com'
         git init --bare $MAINREPO
         export GIT_CONFIG=$HOME/.public-inbox/config
-        git config publicinbox.$LISTNAME.address $ORIGINAL_RECIPIENT
-        git config publicinbox.$LISTNAME.mainrepo $MAINREPO
+        git config publicinbox.$INBOX.address $ORIGINAL_RECIPIENT
+        git config publicinbox.$INBOX.mainrepo $MAINREPO
         unset GIT_CONFIG
         ./import_maildir /path/to/maildir/
 =cut
diff --git a/scripts/import_slrnspool b/scripts/import_slrnspool
index f8271f58..687809b7 100755
--- a/scripts/import_slrnspool
+++ b/scripts/import_slrnspool
@@ -5,7 +5,7 @@
 # Incremental (or one-shot) importer of a slrnpull news spool
 =begin usage
         export ORIGINAL_RECIPIENT=address@example.com
-        public-inbox-init $LISTNAME $GIT_DIR $HTTP_URL $ORIGINAL_RECIPIENT
+        public-inbox-init $INBOX $GIT_DIR $HTTP_URL $ORIGINAL_RECIPIENT
         ./import_slrnspool SLRNPULL_ROOT/news/foo/bar
 =cut
 use strict;
@@ -33,7 +33,7 @@ if ($ENV{'FILTER'}) {
 
 sub key {
         my ($cfg) = @_;
-        "publicinbox.$cfg->{listname}.importslrnspoolstate";
+        "publicinbox.$cfg->{inbox}.importslrnspoolstate";
 }
 
 sub get_min {