Update alpine-docker-v5.sh

fix directory check
This commit is contained in:
tteckster authored and GitHub committed 2023-03-18 20:24:10 -04:00
1 parent 73cae0aa60
commit 32a1ccb59a
1 file changed
+6 -6
+6 -6
View File
@@ -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