xbps-bin: add two new targets 'show-deps' and 'show-revdeps" to print
dependencies and reverse dependencies of a package, respectively. 'xbps-bin show' no longer prints the deps anymore. --HG-- extra : convert_revision : xtraeme%40gmail.com-20090821231219-n26o21xcxor46nk1
This commit is contained in:
@ -97,14 +97,6 @@ show_pkg_info(prop_dictionary_t dict)
|
||||
if (obj && prop_object_type(obj) == PROP_TYPE_STRING)
|
||||
printf("SHA256: %s\n", prop_string_cstring_nocopy(obj));
|
||||
|
||||
obj = prop_dictionary_get(dict, "run_depends");
|
||||
if (obj && prop_object_type(obj) == PROP_TYPE_ARRAY) {
|
||||
printf("Dependencies:\n");
|
||||
(void)xbps_callback_array_iter_in_dict(dict, "run_depends",
|
||||
list_strings_in_array, NULL);
|
||||
printf("\n\n");
|
||||
}
|
||||
|
||||
obj = prop_dictionary_get(dict, "conf_files");
|
||||
if (obj && prop_object_type(obj) == PROP_TYPE_ARRAY) {
|
||||
printf("Configuration files:\n");
|
||||
|
Reference in New Issue
Block a user