From b2a61e953f7f17c6172a0eff8d204154f81f678f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 6 Mar 2026 20:12:43 -0600 Subject: [PATCH] Update proxmenu-scripts.sh --- proxmenu-scripts.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index ff93f86..bdf88f9 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -245,7 +245,8 @@ MAIN_MENU() { fi echo - if ! apt list --installed "connectwise*"; then + if [ "$(dpkg -l | awk '/connectwise/ {print }'|wc -l)" -ge 1 ]; then +# if ! apt list --installed "connectwise*"; 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 @@ -256,7 +257,7 @@ MAIN_MENU() { else echo -e "${idsCL[DarkGray]} [5] Acronis Backup is already installed${idsCL[Default]}" fi - if ! apt list --installed "sentinelagent*"; then + if [ "$(dpkg -l | awk '/sentinelagent/ {print }'|wc -l)" -ge 1 ]; 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]}" @@ -268,7 +269,7 @@ MAIN_MENU() { else echo -e "${idsCL[DarkGray]} [7] Glances is already installed${idsCL[Default]}" fi - if ! apt list --installed "srvadmin-all" &> /dev/null; then + if [ "$(dpkg -l | awk '/srvadmin-all/ {print }'|wc -l)" -ge 1 ]; 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[Cyan]}https://${RNIP}:1311"