From f9ee486b784761f8e77e6f48f26227bc1c0e6f6a Mon Sep 17 00:00:00 2001 From: John Gee Date: Sun, 21 Apr 2024 12:29:18 +1200 Subject: [PATCH] Remove use of curl --compressed due to a bug in 8.7.1 (#801) --- CHANGELOG.md | 7 ++++++- bin/n | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa8b7a2..355e460 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 -## [Unreleased] (date goes here) +## [9.2.2] (2024-04-21) + +### Fixed + +- avoid problems with `curl` 8.7.1 and `--compressed` by removing option until fixed ## [9.2.1] (2024-02-25) @@ -500,6 +504,7 @@ Only minor functional changes, but technically could break scripts relying on sp [Unreleased]: https://github.com/tj/n/compare/master...develop +[9.2.2]: https://github.com/tj/n/compare/v9.2.1...v9.2.2 [9.2.1]: https://github.com/tj/n/compare/v9.2.0...v9.2.1 [9.2.0]: https://github.com/tj/n/compare/v9.1.0...v9.2.0 [9.1.0]: https://github.com/tj/n/compare/v9.0.1...v9.1.0 diff --git a/bin/n b/bin/n index a9bfc9f..3e5e216 100755 --- a/bin/n +++ b/bin/n @@ -61,7 +61,7 @@ function n_grep() { # Setup and state # -VERSION="v9.2.2-0" +VERSION="v9.2.2" N_PREFIX="${N_PREFIX-/usr/local}" N_PREFIX=${N_PREFIX%/} @@ -853,7 +853,7 @@ function do_get() { function do_get_index() { if command -v curl &> /dev/null; then # --silent to suppress progress et al - curl --silent --compressed "${CURL_OPTIONS[@]}" "$@" + curl --silent "${CURL_OPTIONS[@]}" "$@" elif command -v wget &> /dev/null; then wget "${WGET_OPTIONS[@]}" "$@" else