From 2e6c6bdfe17f13766cfc22b9e0128e4b78b235db Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 30 Jan 2022 09:09:21 -0600 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index f5ee84d..229a661 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -191,11 +191,9 @@ DISTUPGRADE() { } PIPUPGRADE() { if [ "$EUID" -ne 0 ]; then - sudo pip3 install --upgrade pip - sudo pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U + sudo pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U else - pip3 install --upgrade pip - pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U + pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U fi echo "" echo -e "${Green}Python-Pip Upgrades has completed${Color_Off}"