Pre-requisites of installed packages dont need to be verified (RhBug:223642)

This commit is contained in:
Panu Matilainen 2010-04-14 09:05:55 +03:00
parent dcaec34d3f
commit 2e03c07db7
1 changed files with 4 additions and 0 deletions

View File

@ -386,6 +386,10 @@ retry:
goto unsatisfied;
}
/* Dont look at pre-requisites of already installed packages */
if (!adding && isInstallPreReq(dsflags))
goto exit;
/* Pretrans dependencies can't be satisfied by added packages. */
if (!(dsflags & RPMSENSE_PRETRANS) &&
rpmalSatisfiesDepend(tsmem->addedPackages, dep) != NULL) {