dont show atoms in the summary, they're strictly internal (#300569)
authorKlaus Kaempf <kkaempf@suse.de>
Tue, 28 Aug 2007 14:29:10 +0000 (14:29 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Tue, 28 Aug 2007 14:29:10 +0000 (14:29 +0000)
src/zypper-misc.cc

index 61cb617..05de5e3 100644 (file)
@@ -600,12 +600,14 @@ int show_summary()
           retv = ZYPPER_EXIT_INF_RESTART_NEEDED;
       }
 
-      if ( it->status().isToBeInstalled() )
+      if ( it->status().isToBeInstalled()
+          && it->resolvable()->kind() != ResTraits<Atom>::kind )
       {
         DBG << "<install>   ";
         to_be_installed[it->resolvable()->kind()].insert(it->resolvable());
       }
-      if ( it->status().isToBeUninstalled() )
+      if ( it->status().isToBeUninstalled()
+          && it->resolvable()->kind() != ResTraits<Atom>::kind )
       {
         DBG << "<uninstall> ";
         to_be_removed[it->resolvable()->kind()].insert(it->resolvable());