Adjust script to 64bit ARM architecture in cases where it's unclear

It should probably default to 64bit if dpkg isn't available for a better guess, since that's more commonly what people are going to be using.
This commit is contained in:
Ellie
2026-06-11 16:29:45 +02:00
committed by GitHub
parent 2284ed83be
commit af6fa75652

View File

@@ -7,8 +7,9 @@ dpkg --version > /dev/null 2>&1
if [ "x$?" = x0 ]; then
have_dpkg="yes"
fi
dpkg_indicates_arm64="no"
dpkg_indicates_arm64="yes"
if [ "$have_dpkg" = "yes" ]; then
dpkg_indicates_arm64="no"
dpkg_arch_output="`dpkg --print architecture`"
echo "$dpkg_arch_output" | grep -q "arm64"
if [ "x$?" = x0 ]; then