diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index 239eb4d..6540481 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -190,7 +190,7 @@ DETECT_CPU(){ wget -O /etc/apt/trusted.gpg.d/proxlb.asc https://repo.gyptazy.com/repository.gpg apt-get update fi - if ! command -v proxclmc &> /dev/null; then + if [ "$(dpkg -l | awk '/proxclmc/ {print }'|wc -l)" -eq 0 ]; then apt -y install proxclmc fi