mirror of
https://github.com/clockworkpi/uConsole.git
synced 2026-07-18 14:14:56 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user