mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[arch] improvement -> repositories/AUR search time
This commit is contained in:
@@ -89,7 +89,7 @@ class AURDataMapper:
|
||||
|
||||
def fill_package_build(self, pkg: ArchPackage):
|
||||
cached_pkgbuild = pkg.get_cached_pkgbuild_path()
|
||||
if os.path.exists(cached_pkgbuild):
|
||||
if pkg.installed and os.path.exists(cached_pkgbuild):
|
||||
with open(cached_pkgbuild) as f:
|
||||
pkg.pkgbuild = f.read()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user