From: Eric Wong Date: Mon, 6 Apr 2020 09:56:19 +0000 (+0000) Subject: examples/grok-pull.post_update_hook: fetch mirror description X-Git-Tag: v1.4.0~19 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=5d1586cf4da126342829399914f96666f275b09d examples/grok-pull.post_update_hook: fetch mirror description The $INBOX_URL/description endpoint is available since v1.3.0, so use it in mirrors. --- 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