From 213598e843853b78a8c07d64c9442cf90982da2f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 17 Sep 2023 17:30:33 -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 c7a842a..3090892 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -150,10 +150,10 @@ PIPUPGRADE() { [ "${1}" == "ii" ] && ii=' --ignore-installed' || ii='' if [ "$EUID" -ne 0 ]; then sudo python3 -m pip install --upgrade pip - sudo pip3 list --outdated --format=json | jq -r '.[] | "\(.name)==\(.latest_version)"' | xargs -n1 pip3 install${ii} -U + sudo pip3 list --outdated --format=json | jq -r '.[] | "\(.name)==\(.latest_version)"' | xargs -n1 pip3${ii} install -U else python3 -m pip install --upgrade pip - pip3 list --outdated --format=json | jq -r '.[] | "\(.name)==\(.latest_version)"' | xargs -n1 pip3 install${ii} -U + pip3 list --outdated --format=json | jq -r '.[] | "\(.name)==\(.latest_version)"' | xargs -n1 pip3${ii} install -U fi echo echo -e "${idsCL[Green]}Python-Pip Upgrades has completed${idsCL[Default]}"