Upgrade pipx installed packages

Makes consistent with others
This commit is contained in:
ViViDboarder 2024-11-01 16:51:42 -07:00
parent 4f245b169c
commit 8d0123a2f7

View File

@ -60,7 +60,7 @@ def maybe_pip_install(*args: str, library=False) -> bool:
return True return True
if not library and command_exists("pipx"): if not library and command_exists("pipx"):
return maybe_run("pipx", "install", *user_bins) return all([maybe_run("pipx", "upgrade", "--install", bin) for bin in user_bins])
elif command_exists("pip3"): elif command_exists("pip3"):
return maybe_run( return maybe_run(
"pip3", "pip3",