diff options
author | Papoteur <papoteur@mageia.org> | 2024-04-10 19:54:30 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2024-04-10 19:54:30 +0200 |
commit | 766dbfe516230645050f086da4dfe959d0b8c6db (patch) | |
tree | 4255946769005ad0767fe7aeb0b3c81a2ee70ffa /qml | |
parent | 526e2d879f2a7f2cab2a9e1a4c8eea86f9397713 (diff) | |
download | mageiawelcome-766dbfe516230645050f086da4dfe959d0b8c6db.tar mageiawelcome-766dbfe516230645050f086da4dfe959d0b8c6db.tar.gz mageiawelcome-766dbfe516230645050f086da4dfe959d0b8c6db.tar.bz2 mageiawelcome-766dbfe516230645050f086da4dfe959d0b8c6db.tar.xz mageiawelcome-766dbfe516230645050f086da4dfe959d0b8c6db.zip |
Adapt to i686 architecture
Diffstat (limited to 'qml')
-rw-r--r-- | qml/mageiawelcome.py | 4 |
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] |