From 0c3dd2ed2ed030dd49bfb4fb61031fe99a3fcab3 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Fri, 24 Apr 2020 13:19:41 -0300 Subject: [PATCH] [fix][arch] search displaying a duplicate for installed AUR packages as repository packages --- CHANGELOG.md | 6 +++--- bauh/gems/arch/controller.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f945ea2..3f872a90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [0.9.1] 2020 +## [0.9.1] 2020-04-24 ### Features - Tray - displaying a notification when there is a new bauh release @@ -14,7 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Improvements - Internet availability checking code - Arch - - displaying on the details if the AUR package was successfully upgraded [#89](https://github.com/vinifmor/bauh/issues/89) + - displaying if an AUR package was successfully upgraded on the details output [#89](https://github.com/vinifmor/bauh/issues/89) - Settings - **disk.trim_after_update** has changed to **disk.trim.after_upgrade** and accepts 3 possible values: **false** (No): disabled, **true** (Yes): automatically trims, **null** (Ask): displays a confirmation dialog @@ -29,7 +29,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### UI - Changed the main toolbar buttons style - Changed some colors -- Removed the **x** button from some windows +- Removed the **x** button from some dialogs ## [0.9.0] - 2020-04-15 ### Features diff --git a/bauh/gems/arch/controller.py b/bauh/gems/arch/controller.py index f69f4314..954421ca 100644 --- a/bauh/gems/arch/controller.py +++ b/bauh/gems/arch/controller.py @@ -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')}}