Update zigbee2mqtt-install.sh

tweak dev branch
pull/2363/head
tteckster 2024-01-16 17:14:43 -05:00 committed by GitHub
parent 693367e278
commit c5e9a48aa3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -50,7 +50,9 @@ fi
msg_info "Installing Zigbee2MQTT" msg_info "Installing Zigbee2MQTT"
cd /opt/zigbee2mqtt cd /opt/zigbee2mqtt
if [[ $DEV == "y" ]]; then if [[ $DEV == "y" ]]; then
$STD git fetch origin dev
$STD git checkout dev $STD git checkout dev
$STD git pull
fi fi
$STD npm ci $STD npm ci
msg_ok "Installed Zigbee2MQTT" msg_ok "Installed Zigbee2MQTT"