Update tools.func

This commit is contained in:
CanbiZ 2025-04-29 15:38:25 +02:00
parent e659b09963
commit 83b8e39457

View File

@ -786,7 +786,6 @@ function download_with_progress() {
}
function setup_uv() {
ensure_usr_local_bin_persist
$STD msg_info "Checking uv installation..."
UV_BIN="/usr/local/bin/uv"
TMP_DIR=$(mktemp -d)
@ -835,10 +834,7 @@ function setup_uv() {
rm -rf "$TMP_DIR"
# set path
if [[ ":$PATH:" != *":/usr/local/bin:"* ]]; then
export PATH="/usr/local/bin:$PATH"
fi
ensure_usr_local_bin_persist
msg_ok "uv installed/updated to $LATEST_VERSION"
}