Update tools.func
This commit is contained in:
parent
96339e216a
commit
b429113018
@ -4276,8 +4276,14 @@ function setup_uv() {
|
|||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
# Install uv binary
|
# Find and install uv binary (tarball extracts to uv-VERSION-ARCH/ directory)
|
||||||
$STD install -m 755 "$TMP_DIR/uv/uv" "$UV_BIN" || {
|
local UV_BINARY=$(find "$TMP_DIR" -name "uv" -type f -executable | head -n1)
|
||||||
|
if [[ ! -f "$UV_BINARY" ]]; then
|
||||||
|
msg_error "Could not find uv binary in extracted tarball"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
$STD install -m 755 "$UV_BINARY" "$UV_BIN" || {
|
||||||
msg_error "Failed to install uv binary"
|
msg_error "Failed to install uv binary"
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user