projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
005abb2
)
using ResStatus instead of Resolver
author
Stefan Schubert
<schubi@suse.de>
Tue, 31 Jan 2006 16:23:36 +0000
(16:23 +0000)
committer
Stefan Schubert
<schubi@suse.de>
Tue, 31 Jan 2006 16:23:36 +0000
(16:23 +0000)
zypp/solver/detail/SolutionAction.cc
patch
|
blob
|
history
diff --git
a/zypp/solver/detail/SolutionAction.cc
b/zypp/solver/detail/SolutionAction.cc
index f497212d762bd1378c7ed97b5ba66e9ada38b0c5..4ac9af4f7c6a75e4e4fa5a876d62ffd39b446012 100644
(file)
--- a/
zypp/solver/detail/SolutionAction.cc
+++ b/
zypp/solver/detail/SolutionAction.cc
@@
-119,12
+119,13
@@
TransactionSolutionAction::execute(Resolver & resolver) const
bool ret = true;
switch (action()) {
case KEEP:
+ ret = _item.status().setNoTransact (ResStatus::USER);
case INSTALL:
case UPDATE:
-
resolver.addPoolItemToInstall (_item
);
+
_item.status().setToBeInstalled (ResStatus::USER
);
break;
case REMOVE:
- resolver.addPoolItemToRemove (_item);
+ _item.status().setToBeUninstalled (ResStatus::USER);
break;
case UNLOCK:
ERR << "Not implemented yet" << endl;