about summary refs log tree commit homepage
path: root/examples
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-04-06 09:56:19 +0000
committerEric Wong <e@yhbt.net>2020-04-06 18:49:47 +0000
commit5d1586cf4da126342829399914f96666f275b09d (patch)
tree0f1440b3088a17d81eabc30b32f98ca2b2b50c3e /examples
parentb9cc3985078111b1fb38de920fd3b7afe3eec542 (diff)
downloadpublic-inbox-5d1586cf4da126342829399914f96666f275b09d.tar.gz
The $INBOX_URL/description endpoint is available since v1.3.0,
so use it in mirrors.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/grok-pull.post_update_hook.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/grok-pull.post_update_hook.sh b/examples/grok-pull.post_update_hook.sh
index d003448e..e04eb2c5 100755
--- a/examples/grok-pull.post_update_hook.sh
+++ b/examples/grok-pull.post_update_hook.sh
@@ -93,6 +93,7 @@ case $cfg_dir in
                 # only one newsgroup per inbox
                 break
         done
+        curl -sSfv "remote_inbox_url"/description >"$inbox_dir"/description
         echo "I: $inbox_name at $inbox_dir ($addresses) $local_url"
         ;;
 esac