libxbps: fix eudev-libgudev -> libgudev fallout.
Packages to be replaced must be collected *before* checking for broken reverse dependencies, otherwise them will always be detected as broken.
This commit is contained in:
@ -121,6 +121,7 @@ xbps_transaction_package_replace(struct xbps_handle *xhp, xbps_array_t pkgs)
|
||||
*/
|
||||
xbps_dictionary_set_cstring_nocopy(instd,
|
||||
"transaction", "remove");
|
||||
xbps_dictionary_set_bool(instd, "replaced", true);
|
||||
if (!xbps_array_add_first(pkgs, instd)) {
|
||||
xbps_object_iterator_release(iter);
|
||||
free(pkgname);
|
||||
|
Reference in New Issue
Block a user