Append ARM arch to BOTH package name and version
This commit is contained in:
@@ -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"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user