From d68371c3082a3ced682525e317135920f32ef541 Mon Sep 17 00:00:00 2001 From: jo Date: Mon, 2 Jun 2025 11:22:47 +0200 Subject: [PATCH 1/2] docs: make archive download silent --- docs/tutorials/setup-hcloud-cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/setup-hcloud-cli.md b/docs/tutorials/setup-hcloud-cli.md index 6046c6818..f187531b1 100644 --- a/docs/tutorials/setup-hcloud-cli.md +++ b/docs/tutorials/setup-hcloud-cli.md @@ -18,7 +18,7 @@ Install them by extracting the archive and moving the binary to a directory in y On a 64-bit Linux system, it could look something like this: ```bash -curl -LO https://github.com/hetznercloud/cli/releases/download/v1.51.0/hcloud-linux-amd64.tar.gz +curl -sSLO https://github.com/hetznercloud/cli/releases/download/v1.51.0/hcloud-linux-amd64.tar.gz sudo tar -C /usr/local/bin -xzf hcloud-linux-amd64.tar.gz rm hcloud-linux-amd64.tar.gz ``` From 541134a7c7c90377eaf52bf97f486066933a412b Mon Sep 17 00:00:00 2001 From: jo Date: Mon, 2 Jun 2025 11:24:24 +0200 Subject: [PATCH 2/2] docs: only extract binary from release archive - Do not extract docs or LICENSE - Do not preserve the owner of the file in the archive --- docs/tutorials/setup-hcloud-cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/setup-hcloud-cli.md b/docs/tutorials/setup-hcloud-cli.md index f187531b1..7b921e3d8 100644 --- a/docs/tutorials/setup-hcloud-cli.md +++ b/docs/tutorials/setup-hcloud-cli.md @@ -19,7 +19,7 @@ On a 64-bit Linux system, it could look something like this: ```bash curl -sSLO https://github.com/hetznercloud/cli/releases/download/v1.51.0/hcloud-linux-amd64.tar.gz -sudo tar -C /usr/local/bin -xzf hcloud-linux-amd64.tar.gz +sudo tar -C /usr/local/bin --no-same-owner -xzf hcloud-linux-amd64.tar.gz hcloud rm hcloud-linux-amd64.tar.gz ```