From 754bbbb9ef727cf3e502ebef8128cc6cb64622a9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 12 Aug 2023 12:38:39 -0500 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 592a366..a97cc74 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -3,7 +3,7 @@ action="$1" FOLDER='/opt/idssys/linupx' -VERS='6.6-07292023' +VERS='6.7-08122023' if [ -d /opt/idssys/settings ]; then [ $(ls /opt/idssys/settings | wc -l) -eq 0 ] && rm -rf /opt/idssys/settings @@ -841,12 +841,14 @@ SCRIPT_MENU() { echo -e " [${idsCL[Yellow]}3${idsCL[Default]}] Run Updates w/o updating repos" fi echo - echo -e " [${idsCL[Yellow]}4${idsCL[Default]}] Check for Upgrades with obsoletes enabled" - echo -e " [${idsCL[Yellow]}5${idsCL[Default]}] Run Dist-Upgrade" + if [ "$ATYPE" != 'yum' ]; then + echo -e " [${idsCL[Yellow]}4${idsCL[Default]}] Check for Upgrades with obsoletes enabled" + echo -e " [${idsCL[Yellow]}5${idsCL[Default]}] Run Dist-Upgrade" + fi echo -e "*[${idsCL[Yellow]}6${idsCL[Default]}] Run Python-Pip Upgrades" echo - echo -e " [${idsCL[Yellow]}9${idsCL[Default]}] Update/Fix Missing APT Repo Keys" if [ "$ATYPE" != 'yum' ]; then + echo -e " [${idsCL[Yellow]}9${idsCL[Default]}] Update/Fix Missing APT Repo Keys" echo -e " [${idsCL[Yellow]}0${idsCL[Default]}] Enable/Disable Automatic Security Updates" echo fi