From 7fb07fd2a12e06df721b0f53d52d66aad04902c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kalbarczyk?= Date: Sat, 12 Nov 2016 18:32:39 +0100 Subject: [PATCH] Uncompress gziped response --- bin/list-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/list-all b/bin/list-all index d8b2ef6..c7f2811 100755 --- a/bin/list-all +++ b/bin/list-all @@ -1,7 +1,7 @@ #!/usr/bin/env bash ruby_versions=$( - curl --silent -H "Content-Type:text/html" "http://cache.ruby-lang.org/pub/ruby/" \ + curl --silent --compressed "http://cache.ruby-lang.org/pub/ruby/" \ | sed -n -E 's/^.*"(ruby-)(.*).tar.gz".*$/\2/p' \ | sort \ | uniq -- GitLab