diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2024-06-30 15:14:43 +0200 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2024-06-30 15:14:43 +0200 |
commit | b296683ff43506365e9bb3abf9f7a187e3ab560a (patch) | |
tree | 2e3b1a430ed46acc155c17cfdb0d6e62d9d60654 | |
parent | 88d6fdba1cb5f3fa2c85dc97877a46ecd2dbfefd (diff) |
Enabling back pip update with changes to its function
Now uses a python virtual environment
-rwxr-xr-x | bin/update-everything.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/update-everything.sh b/bin/update-everything.sh index 5845b71..206c090 100755 --- a/bin/update-everything.sh +++ b/bin/update-everything.sh @@ -81,9 +81,9 @@ pip_update(){ printf_n_notify "pip update" - python3 -m pip list --outdated --format=json | \ + "$HOME/workbench/pyvenv/bin/pip3" list --outdated --format=json | \ jq -r '.[] | "\(.name)==\(.latest_version)"' | \ - xargs -n1 pip3 install -U + xargs -n1 "$HOME/workbench/pyvenv/bin/pip3" install --upgrade } @@ -118,7 +118,7 @@ remote_update printf_accross_width "%" non_free_update printf_accross_width "%" -#pip_update # 2023/01/09 : currently not a stable solution to update pip packages +pip_update printf_accross_width "%" update_scripts_repo printf_accross_width "%" |