libxbps: detect and fix pkgs that depend on itself.
This commit is contained in:
parent
bb491e2667
commit
96778da60c
@ -348,6 +348,7 @@ find_repo_deps(struct xbps_handle *xhp,
|
|||||||
xbps_dbg_printf_append(xhp, "[ignoring wrong dependency "
|
xbps_dbg_printf_append(xhp, "[ignoring wrong dependency "
|
||||||
"%s (depends on itself)]\n",
|
"%s (depends on itself)]\n",
|
||||||
reqpkg);
|
reqpkg);
|
||||||
|
xbps_remove_string_from_array(pkg_rdeps_array, reqpkg);
|
||||||
free(pkgname);
|
free(pkgname);
|
||||||
free(reqpkgname);
|
free(reqpkgname);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user