summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qml/mageiawelcome.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py
index da3fec6..f67f797 100644
--- a/qml/mageiawelcome.py
+++ b/qml/mageiawelcome.py
@@ -55,9 +55,9 @@ class ConfList(QAbstractListModel):
release_nb = subprocess.getoutput("lsb_release -sr")
release_nb = release_nb.strip()
kernel = subprocess.getoutput("uname -r")
- if os.uname()[4] == "x86_64":
+ if os.uname()[4] == ("x86_64", "aarch64"):
arch = "64-bit"
- elif os.uname()[4] == "i586":
+ elif os.uname()[4] in ("i586", "i686", "armv7hl"):
arch = "32-bit"
else:
arch = os.uname()[4]