xbps-dgraph: only add revdeps when it's necessary.
This commit is contained in:
parent
6b397198bf
commit
7b2942e789
@ -422,6 +422,7 @@ create_dot_graph(struct xbps_handle *xhp,
|
||||
*/
|
||||
if (revdeps) {
|
||||
rdeps = xbps_pkgdb_get_pkg_revdeps(xhp, pkgver);
|
||||
if (prop_array_count(rdeps))
|
||||
prop_dictionary_set(plistd, "requiredby", rdeps);
|
||||
}
|
||||
allkeys = prop_dictionary_all_keys(plistd);
|
||||
|
Loading…
Reference in New Issue
Block a user