fixup emqx.sh

This commit is contained in:
Sam Heinz
2025-07-28 19:25:58 +10:00
parent 42c9553863
commit 85046bb62a
2 changed files with 4 additions and 4 deletions

View File

@@ -35,8 +35,8 @@ function update_script() {
msg_ok "Removed old EMQX"
msg_info "Downloading EMQX v${RELEASE}"
DEB_FILE="/tmp/emqx-enterprise-${RELEASE}-debian12-amd64.deb"
curl -fsSL -o "$DEB_FILE" "https://www.emqx.com/en/downloads/enterprise/v${RELEASE}/emqx-enterprise-${RELEASE}-debian12-amd64.deb"
DEB_FILE="/tmp/emqx-enterprise-${RELEASE}-debian12-arm64.deb"
curl -fsSL -o "$DEB_FILE" "https://www.emqx.com/en/downloads/enterprise/v${RELEASE}/emqx-enterprise-${RELEASE}-debian12-arm64.deb"
msg_ok "Downloaded EMQX"
msg_info "Installing EMQX"

View File

@@ -25,8 +25,8 @@ if [[ -z "$LATEST_VERSION" ]]; then
fi
msg_ok "Latest version: v$LATEST_VERSION"
DOWNLOAD_URL="https://www.emqx.com/en/downloads/enterprise/v$LATEST_VERSION/emqx-enterprise-${LATEST_VERSION}-debian12-amd64.deb"
DEB_FILE="/tmp/emqx-enterprise-${LATEST_VERSION}-debian12-amd64.deb"
DOWNLOAD_URL="https://www.emqx.com/en/downloads/enterprise/v$LATEST_VERSION/emqx-enterprise-${LATEST_VERSION}-debian12-arm64.deb"
DEB_FILE="/tmp/emqx-enterprise-${LATEST_VERSION}-debian12-arm64.deb"
msg_info "Downloading EMQX v$LATEST_VERSION"
$STD curl -fsSL -o "$DEB_FILE" "$DOWNLOAD_URL"