xbps_transaction_install_pkg: proper pkg find order in rpool.
Previously it was preferring virtual packages from configuration file before real packages.
This commit is contained in:
parent
20bb1af589
commit
81610697df
@ -56,7 +56,7 @@
|
||||
*/
|
||||
#define XBPS_PKGINDEX_VERSION "1.5"
|
||||
|
||||
#define XBPS_API_VERSION "20120605-3"
|
||||
#define XBPS_API_VERSION "20120609"
|
||||
#define XBPS_VERSION "0.16"
|
||||
|
||||
/**
|
||||
|
@ -91,8 +91,8 @@ transaction_find_pkg(const char *pkg, bool bypattern, bool best, bool exact,
|
||||
goto out;
|
||||
}
|
||||
} else {
|
||||
if (((pkg_repod = xbps_rpool_find_virtualpkg_conf(pkg, bypattern)) == NULL) &&
|
||||
((pkg_repod = xbps_rpool_find_pkg(pkg, bypattern, best)) == NULL) &&
|
||||
if (((pkg_repod = xbps_rpool_find_pkg(pkg, bypattern, best)) == NULL) &&
|
||||
((pkg_repod = xbps_rpool_find_virtualpkg_conf(pkg, bypattern)) == NULL) &&
|
||||
((pkg_repod = xbps_rpool_find_virtualpkg(pkg, bypattern)) == NULL)) {
|
||||
/* not found */
|
||||
rv = errno;
|
||||
|
Loading…
x
Reference in New Issue
Block a user