From ec35bb0e4571b394ace90d54e3c0306cd36e7d67 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 24 Aug 2023 23:04:30 -0500 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 8c90138..c2e3b1d 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -3,7 +3,7 @@ action="$1" FOLDER='/opt/idssys/linupx' -VERS='6.42-08242023' +VERS='6.43-08242023' if [ -d /opt/idssys/settings ]; then [ $(ls /opt/idssys/settings | wc -l) -eq 0 ] && rm -rf /opt/idssys/settings @@ -189,13 +189,13 @@ PIPUPGRADE() { then ${APTFUNC} install jq -y fi - [ "${1}" == "ii" ] && ii=' --ignore-installed ' || ii='' + [ "${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 install${ii} -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 install${ii} -U fi echo echo -e "${idsCL[Green]}Python-Pip Upgrades has completed${idsCL[Default]}"