projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcaec34
)
Pre-requisites of installed packages dont need to be verified (RhBug:223642)
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 14 Apr 2010 06:05:55 +0000
(09:05 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 14 Apr 2010 06:05:55 +0000
(09:05 +0300)
lib/depends.c
patch
|
blob
|
history
diff --git
a/lib/depends.c
b/lib/depends.c
index
37bc0df
..
67d0140
100644
(file)
--- 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) {