Update alpine-zigbee2mqtt-v5.sh

Tweak
pull/1189/head
tteckster 2 years ago committed by GitHub
parent 32a1ccb59a
commit 54259a84c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 [[ ! -f /etc/zigbee2mqtt/configuration.yaml ]]; then
msg_error "No ${APP} Installation Found!"
else
update_script
fi
fi
if [ "$VERB" == "yes" ]; then set -x; fi

Loading…
Cancel
Save

Powered by BW's shoe-string budget.