projects
/
platform
/
upstream
/
zypper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d95d71
)
- use isSatisfied() to determine installed status of PPP (bnc #381295)
author
Jan Kupec
<jkupec@suse.cz>
Sun, 20 Apr 2008 21:31:52 +0000
(21:31 +0000)
committer
Jan Kupec
<jkupec@suse.cz>
Sun, 20 Apr 2008 21:31:52 +0000
(21:31 +0000)
src/zypper-search.h
patch
|
blob
|
history
diff --git
a/src/zypper-search.h
b/src/zypper-search.h
index
3fd5748
..
96d9350
100644
(file)
--- a/
src/zypper-search.h
+++ b/
src/zypper-search.h
@@
-127,6
+127,8
@@
struct FillSearchTableSolvable
{
row << (equalNVRA(*installed.resolvable(), *pi.resolvable()) ? "i" : "v");
}
+ else if (pi.isSatisfied()) // patches/patterns/products are installed if satisfied
+ row << "i";
else
row << "";
@@
-178,7
+180,7
@@
struct FillSearchTableSelectable
{
TableRow row;
- row << (s->installedEmpty() ?
""
: "i");
+ row << (s->installedEmpty() ?
(s->theObj().isSatisfied() ? "i" : "")
: "i");
row << s->name();
row << s->theObj()->summary();
row << kind_to_string_localized(s->kind(), 1);