[aur] caching the package categories to the disk

This commit is contained in:
Vinicius Moreira
2019-10-22 17:24:39 -03:00
parent 64e4822b2d
commit 5df45627ee
4 changed files with 8 additions and 5 deletions

View File

@@ -568,7 +568,7 @@ class ArchManager(SoftwareManager):
if installed and self.context.disk_cache:
handler.watcher.change_substatus(self.i18n['status.caching_data'].format(bold(pkgname)))
if self.context.disk_cache:
disk.save_several({pkgname}, mirror=mirror, maintainer=maintainer, overwrite=True)
disk.save_several({pkgname}, mirror=mirror, maintainer=maintainer, overwrite=True, categories=self.categories)
self._update_progress(handler.watcher, 100, change_progress)