From f2cbeabed5f20ece250b8fd25bf47f9adceaff10 Mon Sep 17 00:00:00 2001 From: Sjaak van den Berg Date: Tue, 16 Dec 2025 00:56:52 +0100 Subject: [PATCH] 20251216T005652CET --- install-uv.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install-uv.sh b/install-uv.sh index 330e50e..75c3b12 100644 --- a/install-uv.sh +++ b/install-uv.sh @@ -1,17 +1,19 @@ #!/usr/bin/env bash -set -euo pipefail +set -euxo pipefail DOWNLOAD_URL=https://github.com/astral-sh/uv/releases/download UV_VERSION=0.9.17 -curl --location \ +cd /tmp + +curl --silent --location \ ${DOWNLOAD_URL}/${UV_VERSION}/uv-x86_64-unknown-linux-gnu.tar.gz \ - --output /tmp/uv-x86_64-unknown-linux-gnu.tar.gz + --output uv-x86_64-unknown-linux-gnu.tar.gz curl --silent --location \ ${DOWNLOAD_URL}/${UV_VERSION}/uv-x86_64-unknown-linux-gnu.tar.gz.sha256 \ | sha256sum --check -tar --extract --strip=1 --file /tmp/uv-x86_64-unknown-linux-gnu.tar.gz --directory /usr/local/bin +tar --extract --strip=1 --file uv-x86_64-unknown-linux-gnu.tar.gz --directory /usr/local/bin chown ghost:ghost /usr/local/bin/uv*