poldek: poldek/install3/iset.c - strictly compare packages
mis
mis at pld-linux.org
Sun Jan 27 19:28:24 CET 2008
Author: mis Date: Sun Jan 27 18:28:24 2008 GMT
Module: poldek Tag: HEAD
---- Log message:
- strictly compare packages
---- Files affected:
poldek/poldek/install3:
iset.c (1.1 -> 1.2)
---- Diffs:
================================================================
Index: poldek/poldek/install3/iset.c
diff -u poldek/poldek/install3/iset.c:1.1 poldek/poldek/install3/iset.c:1.2
--- poldek/poldek/install3/iset.c:1.1 Wed Jan 23 23:56:19 2008
+++ poldek/poldek/install3/iset.c Sun Jan 27 19:28:19 2008
@@ -122,7 +122,7 @@
if (!poldek_conf_MULTILIB)
break;
- if (pkg_is_colored_like(p, pkg))
+ if (pkg_cmp_arch(p, pkg) == 0)
break;
}
}
@@ -151,7 +151,7 @@
struct pkg *p = n_array_nth(iset->pkgs, i);
if (pkg_cmp_name_evr(p, pkg) == 0) {
if (poldek_conf_MULTILIB)
- return pkg_is_colored_like(p, pkg);
+ return pkg_cmp_arch(p, pkg) == 0;
else
return 1;
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/install3/iset.c?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list