mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 21:36:26 +00:00
Upgrade pipx installed packages
Makes consistent with others
This commit is contained in:
parent
4f245b169c
commit
8d0123a2f7
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user