diff --git a/ct/pihole-v5.sh b/ct/pihole-v5.sh index 0de027c9..3357d5c0 100644 --- a/ct/pihole-v5.sh +++ b/ct/pihole-v5.sh @@ -81,7 +81,7 @@ if command -v pveversion >/dev/null 2>&1; then fi fi if ! command -v pveversion >/dev/null 2>&1; then - if [[ ! -f /etc/apt/sources.list.d/emqx_emqx.list ]]; then + if [[ ! -d /etc/pihole ]]; then msg_error "No ${APP} Installation Found!"; exit fi