Update zigbee2mqtt-install.sh

use shallow clone
This commit is contained in:
tteckster 2024-01-13 06:30:23 -05:00 committed by GitHub
parent 20da249d75
commit 8b340be22d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ $STD apt-get install -y nodejs
msg_ok "Installed Node.js"
msg_info "Setting up Zigbee2MQTT Repository"
$STD git clone https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt
$STD git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt
msg_ok "Set up Zigbee2MQTT Repository"
read -r -p "Switch to Edge/dev branch? (y/N) " prompt