packages/pkgbuild: discover_pkgbuilds(): check for makepkg or wrap

This commit is contained in:
InsanePrawn 2022-09-21 15:38:15 +02:00
parent f016eccc6e
commit 6b4bb27609

View file

@ -325,6 +325,7 @@ def discover_pkgbuilds(parallel: bool = True, lazy: bool = True, repositories: O
if lazy and _pkgbuilds_scanned:
logging.debug("Reusing cached pkgbuilds repo")
return _pkgbuilds_cache.copy()
check_programs_wrap(['makepkg'])
pkgbuilds_dir = config.get_path('pkgbuilds')
packages: dict[str, Pkgbuild] = {}
paths = []