libxbps: continue updating all pkgs if xbps is uptodate.
This commit is contained in:
parent
504e68ad82
commit
2216c84eca
@ -247,10 +247,12 @@ xbps_transaction_update_packages(struct xbps_handle *xhp)
|
|||||||
xbps_dictionary_get_cstring_nocopy(pkgd, "pkgver", &pkgver);
|
xbps_dictionary_get_cstring_nocopy(pkgd, "pkgver", &pkgver);
|
||||||
pkgname = xbps_pkg_name(pkgver);
|
pkgname = xbps_pkg_name(pkgver);
|
||||||
assert(pkgname);
|
assert(pkgname);
|
||||||
rv = trans_find_pkg(xhp, pkgname, false, false);
|
if (trans_find_pkg(xhp, pkgname, false, false) == 0) {
|
||||||
free(pkgname);
|
free(pkgname);
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
free(pkgname);
|
||||||
|
}
|
||||||
|
|
||||||
iter = xbps_dictionary_iterator(xhp->pkgdb);
|
iter = xbps_dictionary_iterator(xhp->pkgdb);
|
||||||
assert(iter);
|
assert(iter);
|
||||||
|
Loading…
Reference in New Issue
Block a user