Skip to content

Commit

Permalink
no commit message given
Browse files Browse the repository at this point in the history
  • Loading branch information
veltzer committed Feb 20, 2025
1 parent 192a608 commit 7879af4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/kurtosis.bash
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ function _install_kurtosis() {
# local url="https://github.com/kurtosis-tech/kurtosis-cli-release-artifacts/releases/download/${version}/kurtosis-cli_${version}_linux_amd64.tar.gz"
local url
url=$(curl --silent --location https://api.github.com/repos/kurtosis-tech/kurtosis-cli-release-artifacts/releases/latest | jq --raw-output '.assets[].browser_download_url | select(endswith("_linux_amd64.tar.gz"))')
local local="/tmp/kurtosis.tar.gz"
local local_file="/tmp/kurtosis.tar.gz"
local install_dir="${HOME}/install/binaries"
local kurtosis_path="${install_dir}/kurtosis"
curl --silent -L "${url}" -o "${local}"
tar zxf "${local}" -C "${install_dir}" kurtosis
curl --silent -L "${url}" -o "${local_file}"
tar zxf "${local_file}" -C "${install_dir}" kurtosis
chmod +x "${kurtosis_path}"
errexit_restore "${e}"
}
Expand Down

0 comments on commit 7879af4

Please sign in to comment.