diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ce1a948..1b1bc7f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [0.6.2] 2019-09- ### Improvements -- Installed files of AUR packages available in the Info window - Update notifications showing the number of updates by type as well -- Improving Arch distro checking +- AUR: + - Installed files available in the Info window + - Waiting for the the disk cache data loader only if needed + - Improving Arch distro checking ### Fixes - Update-check daemon not showing notifications diff --git a/bauh/gems/arch/controller.py b/bauh/gems/arch/controller.py index bdea15d1..95d748f6 100644 --- a/bauh/gems/arch/controller.py +++ b/bauh/gems/arch/controller.py @@ -67,7 +67,8 @@ class ArchManager(SoftwareManager): Thread(target=self.mapper.fill_package_build, args=(app,)).start() def search(self, words: str, disk_loader: DiskCacheLoader, limit: int = -1) -> SearchResult: - self.comp_optimizer.join() + if self.comp_optimizer.isAlive(): + self.comp_optimizer.join() downgrade_enabled = git.is_enabled() res = SearchResult([], [], 0) @@ -155,7 +156,9 @@ class ArchManager(SoftwareManager): apps = [] if installed and installed['not_signed']: - self.dcache_updater.join() + if self.dcache_updater.isAlive(): + self.dcache_updater.join() + self._fill_aur_pkgs(installed['not_signed'], apps, disk_loader, internet_available) return SearchResult(apps, None, len(apps))