libxbps: also match vpkgs in previous commit.
This commit is contained in:
parent
302b216d8d
commit
506625a716
@ -56,7 +56,7 @@
|
||||
*/
|
||||
#define XBPS_PKGINDEX_VERSION "1.5"
|
||||
|
||||
#define XBPS_API_VERSION "20120614-1"
|
||||
#define XBPS_API_VERSION "20120614-2"
|
||||
#define XBPS_VERSION "0.16"
|
||||
|
||||
/**
|
||||
|
@ -158,9 +158,14 @@ pkgdep_end(prop_array_t sorted)
|
||||
d = xbps_find_pkg_in_array_by_name(sorted,
|
||||
pd->name, NULL);
|
||||
if (d == NULL) {
|
||||
prop_array_add(sorted, pd->d);
|
||||
pkgdep_release(pd);
|
||||
continue;
|
||||
/* find a virtual pkg otherwise */
|
||||
d = xbps_find_virtualpkg_in_array_by_name(
|
||||
sorted, pd->name);
|
||||
if (d == NULL) {
|
||||
prop_array_add(sorted, pd->d);
|
||||
pkgdep_release(pd);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
prop_dictionary_get_cstring_nocopy(d,
|
||||
"transaction", &trans);
|
||||
|
Loading…
Reference in New Issue
Block a user