MariaDB CLI Update, Go Install Helper & Minor Cleanup (#4793)

* .

* switch mysql to mariadb

* fix some basenames

* remove basename to correct filename

* merge firefly from main
This commit is contained in:
CanbiZ
2025-05-28 14:45:53 +02:00
committed by GitHub
parent 7bb9fb09ba
commit 5e8ee6baa8
105 changed files with 166 additions and 193 deletions

View File

@@ -27,7 +27,7 @@ NODE_VERSION="22" NODE_MODULE="pnpm@latest" install_node_and_modules
msg_info "Setting up Zigbee2MQTT"
cd /opt
RELEASE=$(curl -fsSL https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
curl -fsSL "https://github.com/Koenkk/zigbee2mqtt/archive/refs/tags/${RELEASE}.zip" -o $(basename "https://github.com/Koenkk/zigbee2mqtt/archive/refs/tags/${RELEASE}.zip")
curl -fsSL "https://github.com/Koenkk/zigbee2mqtt/archive/refs/tags/${RELEASE}.zip" -o "${RELEASE}.zip"
$STD unzip ${RELEASE}.zip
mv zigbee2mqtt-${RELEASE} /opt/zigbee2mqtt
cd /opt/zigbee2mqtt/data