From 5d0443800290734ce4b6584014374b109e5a09b0 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 22 May 2017 09:26:33 +0100 Subject: [PATCH] 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. --- keys/tripe-keys.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.0