mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-07 17:35:41 +08:00
uv from brew doesn't have self update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user