forked from forkanization/Proxmox-arm64
fixup emqx.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user