Append ARM arch to BOTH package name and version

This commit is contained in:
2026-07-19 16:31:30 -04:00
parent 1aad75fff6
commit 9bc6963067

View File

@@ -441,9 +441,9 @@ init() {
case $ID in
fedora|centos|suse|mandriva) MC_PKG+="-$MC_VERSION" ;;
debian|ubuntu)
# ARM packages append arch to the package name
# ARM packages append arch to the package name and version
if [[ $MC_ARCH == "arm64" || $MC_ARCH == "armhf" ]]; then
MC_PKG+="-${MC_ARCH}"
MC_PKG+=":${MC_ARCH}=${MC_VERSION}-${MC_ARCH}"
fi
MC_PKG+="=$MC_VERSION"
;;