[arch] improvement: not rechecking sub-dependencies of an AUR dependency to be installed

This commit is contained in:
Vinicius Moreira
2022-01-27 12:27:13 -03:00
parent d205281b3a
commit 644cf43511
2 changed files with 8 additions and 3 deletions

View File

@@ -2108,9 +2108,10 @@ class ArchManager(SoftwareManager):
return True
def _handle_aur_package_deps_and_keys(self, context: TransactionContext) -> bool:
handled_deps = self._handle_missing_deps(context)
if not handled_deps:
return False
if not context.dependency:
handled_deps = self._handle_missing_deps(context)
if not handled_deps:
return False
check_res = makepkg.check(project_dir=context.project_dir,
optimize=bool(context.config['optimize']),