mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-27 19:58:21 +01:00
fix arch
This commit is contained in:
parent
d1f7ca4a18
commit
4255d4686b
2 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ def sbo_check():
|
|||
elif "-noarch-" in pkg:
|
||||
arch = "noarch"
|
||||
else:
|
||||
arch = ""
|
||||
arch = os.uname()[4]
|
||||
name = pkg[:-(len(arch) + len("_SBo") + 3)]
|
||||
pkg_version = get_file(name, "-")[1:]
|
||||
name = name[:-(len(pkg_version) + 1)]
|
||||
|
|
|
@ -83,7 +83,7 @@ def sbo_build(name):
|
|||
elif "arm" in arch:
|
||||
arch = "arm"
|
||||
else:
|
||||
arch = ""
|
||||
arch = os.uname()[4]
|
||||
if "UNSUPPORTED" in src:
|
||||
arch = "UNSUPPORTED"
|
||||
elif "UNTESTED" in src:
|
||||
|
|
Loading…
Add table
Reference in a new issue