Update linupx-scripts.sh
This commit is contained in:
1 parent
1cc3b4c491
commit
5d6393ed09
1 file changed
+4
-4
+4
-4
@@ -198,11 +198,11 @@ DISTUPGRADE() {
|
||||
}
|
||||
PIPUPGRADE() {
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
sudo pip install --upgrade pip
|
||||
sudo pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
|
||||
sudo pip3 install --upgrade pip
|
||||
sudo pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U
|
||||
else
|
||||
pip install --upgrade pip
|
||||
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
|
||||
pip3 install --upgrade pip
|
||||
pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U
|
||||
fi
|
||||
echo ""
|
||||
echo -e "${Green}Python-Pip Upgrades has completed${Color_Off}"
|
||||
|
||||
Reference in new issue
Block a user