[Ubuntu] Install zstd homebrew (#3181)

* install zstd using brew

* fix typo

* remove Run-Command

* replace to Take-OutputPart

* create zstd symlinks
This commit is contained in:
Aleksandr Chebotov
2021-04-14 19:34:49 +03:00
committed by GitHub
parent 16fd521369
commit b04de88f6e
7 changed files with 36 additions and 4 deletions

View File

@@ -263,3 +263,8 @@ function Get-SphinxVersion {
function Get-YamllintVersion {
return "$(yamllint --version)"
}
function Get-ZstdVersion {
$zstdVersion = zstd --version | Take-OutputPart -Part 1 -Delimiter "v" | Take-OutputPart -Part 0 -Delimiter ","
return "zstd $zstdVersion (homebrew)"
}