diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-04-14 09:05:55 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-04-14 09:05:55 +0300 |
commit | 2e03c07db7e10725be9ccdc13daded2e4bf5b017 (patch) | |
tree | b871613f48c2145faf50b45ca5c9f868125da46b /lib | |
parent | dcaec34d3f07ff688ce16afa77734dd37889ce81 (diff) | |
download | rpm-2e03c07db7e10725be9ccdc13daded2e4bf5b017.tar.gz rpm-2e03c07db7e10725be9ccdc13daded2e4bf5b017.tar.bz2 rpm-2e03c07db7e10725be9ccdc13daded2e4bf5b017.zip |
Pre-requisites of installed packages dont need to be verified (RhBug:223642)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/depends.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/depends.c b/lib/depends.c index 37bc0df63..67d014071 100644 --- a/lib/depends.c +++ b/lib/depends.c @@ -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) { |