Fixes Bug 2938 (#9)

Adds support for x86_64 system arch with packages of i686 arch
This commit is contained in:
dylan-bartos-tanium 2023-05-25 12:49:20 -07:00 committed by GitHub
parent d77bb43a77
commit b336ffa23c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -276,7 +276,10 @@ async def get_updateinfo(
if p_name not in pkg_src_rpm:
continue
if arch != product_arch and arch != "noarch":
continue
if arch != "x86_64":
continue
if arch == "x86_64" and product_arch != "i686":
continue
skip = False
for suffix in suffixes_to_skip: