mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 19:27:35 +00:00
Use pipx install since upgrade doesn't work on first install
Maybe should add --force to allow upgrades, but keeping it stable for now.
This commit is contained in:
parent
87ad6b6947
commit
f9fa1677d6
@ -93,7 +93,7 @@ function maybe_pip_install() {
|
|||||||
|
|
||||||
if command_exists pipx ;then
|
if command_exists pipx ;then
|
||||||
# Prefer pipx to keep environments isolated
|
# Prefer pipx to keep environments isolated
|
||||||
pipx upgrade "${user_bins[@]}"
|
pipx install "${user_bins[@]}"
|
||||||
else
|
else
|
||||||
if command_exists pip3 ;then
|
if command_exists pip3 ;then
|
||||||
# If pip3 is there, use it to ensure we're using python 3
|
# If pip3 is there, use it to ensure we're using python 3
|
||||||
|
Loading…
Reference in New Issue
Block a user