Fix 29765271e
correctly.
xbps_find_virtualpkg_in_conf() needs to look at the vpkgs set up in configuration files, not from those set by pkgdb. As a result of this the two test cases that were failing yesterday are now fixed.
This commit is contained in:
@ -361,7 +361,7 @@ generate_full_revdeps_tree(struct xbps_handle *xhp)
|
||||
if (curpkgname == NULL)
|
||||
curpkgname = xbps_pkg_name(pkgdep);
|
||||
assert(curpkgname);
|
||||
vpkgname = vpkg_user_conf(xhp, curpkgname);
|
||||
vpkgname = vpkg_user_conf(xhp, curpkgname, false);
|
||||
if (vpkgname == NULL)
|
||||
vpkgname = curpkgname;
|
||||
|
||||
|
Reference in New Issue
Block a user