From: Mark Wooding Date: Mon, 22 May 2017 08:26:33 +0000 (+0100) Subject: keys/tripe-keys.in: Follow redirects when fetching updates. X-Git-Tag: 1.5.0~162 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/commitdiff_plain/5d0443800290734ce4b6584014374b109e5a09b0 keys/tripe-keys.in: Follow redirects when fetching updates. This supports servers which want to try to use HTTPS. Of course, the better answer is just to use `https://...' URIs. --- diff --git a/keys/tripe-keys.in b/keys/tripe-keys.in index cfa740bd..d95a31d2 100644 --- a/keys/tripe-keys.in +++ b/keys/tripe-keys.in @@ -483,8 +483,8 @@ def cmd_update(args): OS.mkdir('tmp') OS.chdir('tmp') seq = int(conf['master-sequence']) - run('curl -s -o tripe-keys.tar.gz ${repos-url}') - run('curl -s -o tripe-keys.sig %s' % seqsubst('sig-url', seq)) + run('curl -sL -o tripe-keys.tar.gz ${repos-url}') + run('curl -sL -o tripe-keys.sig %s' % seqsubst('sig-url', seq)) run('tar xfz tripe-keys.tar.gz') ## Verify the signature