XBPS major changes in June 2011.
- A configuration file "xbps-conf.plist" replaces the (un)register target in xbps-repo(8) and (un)set-prop in xbps-bin(8). For now, you can set the repositories and prefered virtual packages. - New package pattern matching code from NetBSD. Supports more ways of matching patterns in packages. - Multiple bugs fixed in virtual packages related matching code. --HG-- rename : LICENSE => COPYING
This commit is contained in:
@@ -187,7 +187,7 @@ show_pkg_files(prop_dictionary_t filesd)
|
||||
prop_array_t array;
|
||||
prop_object_iterator_t iter = NULL;
|
||||
prop_object_t obj;
|
||||
const char *file, *array_str;
|
||||
const char *file, *array_str, *target;
|
||||
int i = 0;
|
||||
|
||||
/* This will print links, conf_files and files respectively. */
|
||||
@@ -209,7 +209,11 @@ show_pkg_files(prop_dictionary_t filesd)
|
||||
|
||||
while ((obj = prop_object_iterator_next(iter))) {
|
||||
prop_dictionary_get_cstring_nocopy(obj, "file", &file);
|
||||
printf("%s\n", file);
|
||||
printf("%s", file);
|
||||
if (prop_dictionary_get_cstring_nocopy(obj,
|
||||
"target", &target))
|
||||
printf(" -> %s", target);
|
||||
printf("\n");
|
||||
}
|
||||
prop_object_iterator_release(iter);
|
||||
}
|
||||
|
Reference in New Issue
Block a user