mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
improve pipupdate() reliablity
This commit is contained in:
parent
5e3aef5a42
commit
c0571b1ceb
|
@ -226,7 +226,10 @@ function gitupdate(){
|
||||||
}
|
}
|
||||||
|
|
||||||
function pipupdate(){
|
function pipupdate(){
|
||||||
for pip in pip2 pip2; do
|
for pip in pip2 pip3; do
|
||||||
|
if [ -z $pip ]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
$pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 $pip install -U
|
$pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 $pip install -U
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user