From 597fa39c1af7998b6b10e282e00debf21bc2286c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 5 Mar 2026 22:04:41 -0600 Subject: [PATCH] update --- defaults.inc | 2 +- proxmenu-scripts.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/defaults.inc b/defaults.inc index 2594001..55b47f6 100755 --- a/defaults.inc +++ b/defaults.inc @@ -3,7 +3,7 @@ action="$1" FOLDER='/opt/idssys/ta-proxmenu' -VERS='2026.3.7' +VERS='2026.3.10' RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index 4e86ff3..828e683 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -235,7 +235,7 @@ MAIN_MENU() { echo -e " [${idsCL[LightYellow]}2${idsCL[Default]}] ${idsCL[White]}Install Pulse Monitoring${idsCL[Default]}" echo - if ! dpkg -s "connectwise*" &> /dev/null; then + if [ ! apt list --installed "connectwise*" &> /dev/null ]; then echo -e " [${idsCL[LightYellow]}3${idsCL[Default]}] ${idsCL[White]}Install ConnectWise RMM Agent${idsCL[Default]}" echo -e " [${idsCL[LightYellow]}4${idsCL[Default]}] ${idsCL[White]}Install ScreenConnect Agent${idsCL[Default]}" else @@ -246,7 +246,7 @@ MAIN_MENU() { else echo -e "${idsCL[DarkGray]} [5] Acronis Backup is already installed${idsCL[Default]}" fi - if ! dpkg -s "sentinelagent" &> /dev/null; then + if [ ! apt list --installed "sentinelagent*" &> /dev/null ]; then echo -e " [${idsCL[LightYellow]}6${idsCL[Default]}] ${idsCL[White]}Install SentinelOne Agent${idsCL[Default]}" else echo -e "${idsCL[DarkGray]} [6] SentinelOne is already installed${idsCL[Default]}" @@ -258,7 +258,7 @@ MAIN_MENU() { else echo -e "${idsCL[DarkGray]} [7] Glances is already installed${idsCL[Default]}" fi - if ! dpkg -s "srvadmin-all" &> /dev/null; then + if [ ! apt list --installed "srvadmin-all" &> /dev/null ]; then echo -e " [${idsCL[LightYellow]}8${idsCL[Default]}] ${idsCL[White]}Install Dell OpenManage Server Administrator${idsCL[Default]}" else echo -e "${idsCL[DarkGray]} [8] Dell OMSA is already installed - ${idsCL[Default]}https://[proxmox-host-ip]:1311"