From 6d916e74a220e132873b0208adba3ce4e341adcc Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 5 Nov 2022 09:26:18 -0500 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index daf61cf..9111913 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -209,10 +209,10 @@ DISTUPGRADE() { PIPUPGRADE() { if [ "$EUID" -ne 0 ]; then sudo python3 -m pip install --upgrade pip - sudo pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U + sudo pip3 list --outdated --format=json | jq -r '.[] | "\(.name)==\(.latest_version)"' | xargs -n1 pip3 install -U else python3 -m pip install --upgrade pip - pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U + pip3 list --outdated --format=json | jq -r '.[] | "\(.name)==\(.latest_version)"' | xargs -n1 pip3 install -U fi echo "" echo -e "${Green}Python-Pip Upgrades has completed${Color_Off}"