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

View File

@ -276,6 +276,9 @@ async def get_updateinfo(
if p_name not in pkg_src_rpm: if p_name not in pkg_src_rpm:
continue continue
if arch != product_arch and arch != "noarch": if arch != product_arch and arch != "noarch":
if arch != "x86_64":
continue
if arch == "x86_64" and product_arch != "i686":
continue continue
skip = False skip = False