summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2024-04-10 19:54:30 +0200
committerPapoteur <papoteur@mageia.org>2024-04-10 19:54:30 +0200
commit766dbfe516230645050f086da4dfe959d0b8c6db (patch)
tree4255946769005ad0767fe7aeb0b3c81a2ee70ffa
parent526e2d879f2a7f2cab2a9e1a4c8eea86f9397713 (diff)
downloadmageiawelcome-766dbfe516230645050f086da4dfe959d0b8c6db.tar
mageiawelcome-766dbfe516230645050f086da4dfe959d0b8c6db.tar.gz
mageiawelcome-766dbfe516230645050f086da4dfe959d0b8c6db.tar.bz2
mageiawelcome-766dbfe516230645050f086da4dfe959d0b8c6db.tar.xz
mageiawelcome-766dbfe516230645050f086da4dfe959d0b8c6db.zip
Adapt to i686 architecture
-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]