libxbps: continue updating all pkgs if xbps is uptodate.

This commit is contained in:
Juan RP 2015-03-29 11:06:18 +02:00
parent 504e68ad82
commit 2216c84eca

View File

@ -247,9 +247,11 @@ xbps_transaction_update_packages(struct xbps_handle *xhp)
xbps_dictionary_get_cstring_nocopy(pkgd, "pkgver", &pkgver);
pkgname = xbps_pkg_name(pkgver);
assert(pkgname);
rv = trans_find_pkg(xhp, pkgname, false, false);
if (trans_find_pkg(xhp, pkgname, false, false) == 0) {
free(pkgname);
return rv;
}
free(pkgname);
return rv;
}
iter = xbps_dictionary_iterator(xhp->pkgdb);