From 8b340be22dbb66e1aecc593e454e079c52b728a2 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 13 Jan 2024 06:30:23 -0500 Subject: [PATCH] Update zigbee2mqtt-install.sh use shallow clone --- install/zigbee2mqtt-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/zigbee2mqtt-install.sh b/install/zigbee2mqtt-install.sh index 7855e7e5..92b847a6 100644 --- a/install/zigbee2mqtt-install.sh +++ b/install/zigbee2mqtt-install.sh @@ -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