From c85af33d5f610e96d631248556e25857d3a4fb51 Mon Sep 17 00:00:00 2001 From: Jakub Panek Date: Thu, 13 Oct 2022 19:53:24 +0200 Subject: [PATCH] fix: remove -Z (#1505) * fix: remove -Z parallel isn't required and might be missing on some hosts fixes #1504 * docs: update changelog --- CHANGELOG.md | 2 ++ extra/proxy.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42f4c846..b9888482 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ ### Bug Fixes +- [#1505](https://github.com/lapce/lapce/pull/1505): Fix proxy download for hosts with curl without -Z flag + ## 0.2.1 ### Features/Changes diff --git a/extra/proxy.sh b/extra/proxy.sh index 4b2e2d9f..e0e1daf6 100644 --- a/extra/proxy.sh +++ b/extra/proxy.sh @@ -65,7 +65,7 @@ _URL="https://github.com/lapce/lapce/releases/download/${_VER}/lapce-proxy-${_OS if test_cmd 'curl'; then # How old curl has these options? we'll find out printf 'Downloading using curl\n' - curl --proto '=https' --tlsv1.2 -LZfS -O "${_URL}" + curl --proto '=https' --tlsv1.2 -LfS -O "${_URL}" # curl --proto '=https' --tlsv1.2 -LZfS -o "${_TMP}/lapce-proxy-${_OS}-${_ARCH}.gz" "${_URL}" elif test_cmd 'wget'; then printf 'Downloading using wget\n'