Only parse target Arch in version lookup

这个提交包含在:
2025-04-24 10:22:39 -04:00
父节点 33b7b99405
当前提交 5219862e22

查看文件

@@ -429,7 +429,7 @@ get_latest_mc_version() {
Signed-By: /usr/share/keyrings/jriver-com-archive-keyring.gpg
Suites: '"$MC_REPO"'
Components: main
Architectures: amd64 armhf arm64
Architectures: '"$ARCH"'
EOF
apt-get update --allow-insecure-repositories' &&
MC_VERSION=$(sudo buildah run "$cnt" -- apt-cache policy "mediacenter$MC_MVERSION" | grep Candidate | awk '{print $2}' | sort -V | tail -n1) &>/dev/null &&