mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 03:34:15 +02:00
[fix][arch] search displaying a duplicate for installed AUR packages as repository packages
This commit is contained in:
@@ -303,7 +303,7 @@ class ArchManager(SoftwareManager):
|
||||
pkgname = words.split(' ')[0].strip()
|
||||
pkg_found = pacman.get_info_dict(pkgname, remote=False)
|
||||
|
||||
if pkg_found:
|
||||
if pkg_found and pkg_found['validated by']:
|
||||
repo_search = {pkgname: {'version': pkg_found.get('version'),
|
||||
'repository': 'unknown',
|
||||
'description': pkg_found.get('description')}}
|
||||
|
||||
Reference in New Issue
Block a user