Pas besoin de pip
This commit is contained in:
parent
d1b53c92ed
commit
284147bdbd
1 changed files with 0 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
||||||
# Gathering the outdated packages list
|
|
||||||
echo "Gathering the outdated packages list..."
|
|
||||||
py_pkglist=$(pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d '=' -f 1)
|
|
||||||
|
|
||||||
# Updating
|
|
||||||
if [ ! -z "$py_pkglist" ]; then
|
|
||||||
echo $py_pkglist | xargs -n 1 pip3 install -U
|
|
||||||
else
|
|
||||||
echo "All packages are up to date."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Unsetting the variable
|
|
||||||
unset py_pkglist
|
|
Loading…
Reference in a new issue