mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 03:04:15 +02:00
[fix][arch] staging regression: not considering settings related to AUR and repositories are enabled/disabled
This commit is contained in:
@@ -105,7 +105,7 @@ class ArchDiskCacheUpdater(Thread):
|
||||
self.task_man.update_progress(self.task_id, 0, self.i18n['arch.task.disk_cache.reading'])
|
||||
|
||||
saved = 0
|
||||
pkgs = {p.name: p for p in installed if not os.path.exists(p.get_disk_cache_path())}
|
||||
pkgs = {p.name: p for p in installed if ((self.aur and p.repository == 'aur') or (self.repositories and p.repository != 'aur')) and not os.path.exists(p.get_disk_cache_path())}
|
||||
|
||||
self.to_index = len(pkgs)
|
||||
self.progress = self.to_index * 2
|
||||
|
||||
Reference in New Issue
Block a user