uv from brew doesn't have self update

This commit is contained in:
Adeeb Shihadeh
2024-12-24 17:21:34 -08:00
parent 14123e94bb
commit 2e0c91c295
+5 -2
View File
@@ -10,8 +10,11 @@ cd "$ROOT"
# updating uv on macOS results in 403 sometimes
function update_uv() {
for i in $(seq 1 5);
do
if ! uv self update --help >/dev/null 2>&1; then
return 0
fi
for i in $(seq 1 5); do
if uv self update; then
return 0
else