diff --git a/linupx-scripts.sh b/linupx-scripts.sh index c2e3b1d..51c908e 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -3,7 +3,7 @@ action="$1" FOLDER='/opt/idssys/linupx' -VERS='6.43-08242023' +VERS='6.44-08272023' if [ -d /opt/idssys/settings ]; then [ $(ls /opt/idssys/settings | wc -l) -eq 0 ] && rm -rf /opt/idssys/settings @@ -202,6 +202,12 @@ PIPUPGRADE() { if [ ${action-x} ]; then exit 0; fi read -n 1 -s -p "Press any key to continue" } +PIPUPGRADEFIX(){ + ${APTFUNC} install libsystemd-dev libcairo2-dev libcurl4-openssl-dev libssl-dev build-essential libpython3-dev libdbus-1-dev libgirepository1.0-dev + echo + if [ ${action-x} ]; then exit 0; fi + read -n 1 -s -p "Press any key to continue" +} DNSUPDATE() { bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/update-dns.sh) echo @@ -868,6 +874,7 @@ SCRIPT_MENU() { fi echo -e "*[${idsCL[Yellow]}6${idsCL[Default]}] Run Python-Pip Upgrades" echo -e " [${idsCL[Yellow]}7${idsCL[Default]}] Run Python-Pip Upgrades (w/ --ignore-installed)" + echo -e " [${idsCL[Yellow]}8${idsCL[Default]}] Install pkgs to fix Pip upgrades" echo if [ "$ATYPE" != 'yum' ]; then echo -e " [${idsCL[Yellow]}9${idsCL[Default]}] Update/Fix Missing APT Repo Keys" @@ -903,6 +910,8 @@ SCRIPT_MENU() { SCRIPT_MENU;; 7) PIPUPGRADE ii SCRIPT_MENU;; + 8) PIPUPGRADEFIX + SCRIPT_MENU;; 9) UPDATEREPOKEYS SCRIPT_MENU;; 0) ENDISASU