ref: refs/heads/master
commit c02bd284bf3f34f3f9818e2e350c222f7ce7b48b
Author: Michael Andres
Date: Thu Apr 16 12:54:48 2009 +0200
Soft lock packages deleted on behalf of a user request.
---
zypp/pool/PoolImpl.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/zypp/pool/PoolImpl.h b/zypp/pool/PoolImpl.h
index f1f5559..30e5059 100644
--- a/zypp/pool/PoolImpl.h
+++ b/zypp/pool/PoolImpl.h
@@ -334,8 +334,9 @@ namespace zypp
for_( it, begin(), end() )
{
ResStatus & status( it->status() );
- if ( ! status.isByUser() )
- continue; // ignore non-uer requests
+ if ( ! ( status.isByUser() || status.isByApplLow() ) )
+ continue; // ignore non-user requests; ApplLow means selected
+ // by solver, but on behalf of a user request.
switch ( status.getTransactValue() )
{
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org