poldek: poldek/cli/shell.c - multilib aware upgrade completition (...

mis mis at pld-linux.org
Wed Jun 20 23:25:45 CEST 2007


Author: mis                          Date: Wed Jun 20 21:25:45 2007 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- multilib aware upgrade completition (#26)

---- Files affected:
poldek/poldek/cli:
   shell.c (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: poldek/poldek/cli/shell.c
diff -u poldek/poldek/cli/shell.c:1.29 poldek/poldek/cli/shell.c:1.30
--- poldek/poldek/cli/shell.c:1.29	Thu May 11 11:51:53 2006
+++ poldek/poldek/cli/shell.c	Wed Jun 20 23:25:40 2007
@@ -98,7 +98,7 @@
             break;
         
         ipkg = ent->pkg_dent_pkg;
-        if (strcmp(pkg->name, ipkg->name) == 0 && pkg_cmp_evr(pkg, ipkg) > 0)
+        if (pkg_is_kind_of(ipkg, pkg) && pkg_cmp_evr(pkg, ipkg) > 0)
             return 1;
         
     }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/poldek/poldek/cli/shell.c?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list