establish Atoms correctly
authorKlaus Kaempf <kkaempf@suse.de>
Sun, 19 Mar 2006 18:23:17 +0000 (18:23 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Sun, 19 Mar 2006 18:23:17 +0000 (18:23 +0000)
zypp/solver/detail/QueueItemEstablish.cc

index c0a30bd..5ef7a45 100644 (file)
@@ -176,7 +176,8 @@ QueueItemEstablish::process (ResolverContext_Ptr context, QueueItemList & qil)
        }
        else {
            // If the item stays installed, blame the user
-           if (_item->kind() != ResTraits<Package>::kind
+           if ((_item->kind() != ResTraits<Package>::kind
+                && _item->kind() != ResTraits<Atom>::kind)
                || status.staysInstalled()
                || context->establishing())
            {