From b2fc242e68d6a765f5885f02e2818f211f8351eb Mon Sep 17 00:00:00 2001
From: tteckster <tteckster@gmail.com>
Date: Thu, 19 Oct 2023 04:36:55 -0400
Subject: [PATCH] Update mqtt.sh

set new file path check
---
 ct/mqtt.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ct/mqtt.sh b/ct/mqtt.sh
index 792732877..7c8fa42eb 100644
--- a/ct/mqtt.sh
+++ b/ct/mqtt.sh
@@ -52,7 +52,7 @@ function default_settings() {
 
 function update_script() {
 header_info
-if [[ ! -f /etc/apt/sources.list.d/mosquitto-bullseye.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
+if [[ ! -f /etc/mosquitto/conf.d/default.conf ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
 msg_info "Updating ${APP} LXC"
 apt-get update &>/dev/null
 apt-get -y upgrade &>/dev/null