From 32a1ccb59a04a2f7dc46e087cec23c2f3af329e2 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 18 Mar 2023 20:24:10 -0400 Subject: [PATCH] Update alpine-docker-v5.sh fix directory check --- ct/alpine-docker-v5.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ct/alpine-docker-v5.sh b/ct/alpine-docker-v5.sh index 638b1855..d0ec1d2f 100644 --- a/ct/alpine-docker-v5.sh +++ b/ct/alpine-docker-v5.sh @@ -396,12 +396,12 @@ if command -v pveversion >/dev/null 2>&1; then install_script fi -if ! command -v pveversion >/dev/null 2>&1 && [[ ! -f /etc/zigbee2mqtt/configuration.yaml ]]; then - msg_error "No ${APP} Installation Found!" -fi - -if ! command -v pveversion >/dev/null 2>&1 && [[ -f /etc/zigbee2mqtt/configuration.yaml ]]; then - update_script +if ! command -v pveversion >/dev/null 2>&1; then + if [[ ! -d /etc/docker ]]; then + msg_error "No ${APP} Installation Found!" + else + update_script + fi fi if [ "$VERB" == "yes" ]; then set -x; fi