Skip to content

Commit

Permalink
fix: zstd detection false positive on MacOS (#3845)
Browse files Browse the repository at this point in the history
* fix: zstd detection false positive on MacOS

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
roele and autofix-ci[bot] authored Dec 27, 2024
1 parent 1fae2b0 commit 323a85b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions mise.lock
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ jq-macos-arm64 = "sha256:0bbe619e663e0de2c550be2fe0d240d076799d6f8a652b70fa04aea
version = "0.11"
backend = "aqua:jedisct1/minisign"

[tools.minisign.checksums]
"minisign-0.11-linux.tar.gz" = "sha256:f0a0954413df8531befed169e447a66da6868d79052ed7e892e50a4291af7ae0"

[tools."npm:markdownlint-cli"]
version = "0.43.0"
backend = "npm:markdownlint-cli"
Expand Down
2 changes: 1 addition & 1 deletion packaging/standalone/install.envsubst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ get_ext() {

tar_supports_zstd() {
# tar is bsdtar or version is >= 1.31
if tar --version | grep -q 'bsdtar'; then
if tar --version | grep -q 'bsdtar' && command -v zstd >/dev/null 2>&1; then
true
elif tar --version | grep -q '1.(3[1-9]|{4-9}\d)'; then
true
Expand Down

0 comments on commit 323a85b

Please sign in to comment.