libxbps: there's no need to look for vpkgs in xbps_repository_update_*().
This commit is contained in:
parent
b8c804e891
commit
cf1b893995
@ -55,7 +55,7 @@
|
|||||||
*/
|
*/
|
||||||
#define XBPS_PKGINDEX_VERSION "1.2"
|
#define XBPS_PKGINDEX_VERSION "1.2"
|
||||||
|
|
||||||
#define XBPS_API_VERSION "20111030-2"
|
#define XBPS_API_VERSION "20111031"
|
||||||
#define XBPS_VERSION "0.11.0"
|
#define XBPS_VERSION "0.11.0"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -88,8 +88,10 @@ repository_find_pkg(const char *pattern, const char *reason)
|
|||||||
pkg_repod = xbps_repository_pool_find_pkg(pattern,
|
pkg_repod = xbps_repository_pool_find_pkg(pattern,
|
||||||
bypattern, bestpkg);
|
bypattern, bestpkg);
|
||||||
if (pkg_repod == NULL) {
|
if (pkg_repod == NULL) {
|
||||||
pkg_repod = xbps_repository_pool_find_virtualpkg(pattern,
|
if (bestpkg == false) {
|
||||||
bypattern, bestpkg);
|
pkg_repod = xbps_repository_pool_find_virtualpkg(
|
||||||
|
pattern, bypattern, bestpkg);
|
||||||
|
}
|
||||||
if (pkg_repod == NULL) {
|
if (pkg_repod == NULL) {
|
||||||
/* not found */
|
/* not found */
|
||||||
rv = errno;
|
rv = errno;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user