libxbps: API/ABI break changes to fix issues with virtual packages.

Please see the NEWS file for info about this commit.
This commit is contained in:
Juan RP
2011-07-15 18:22:58 +02:00
parent fddb472dd0
commit 33d6d2e166
11 changed files with 198 additions and 153 deletions

View File

@ -199,7 +199,8 @@ xbps_check_is_installed_pkg_by_pattern(const char *pattern)
assert(pattern != NULL);
dict = xbps_find_pkg_dict_installed(pattern, true);
if ((dict = xbps_find_pkg_dict_installed(pattern, true)) == NULL)
dict = xbps_find_virtualpkg_dict_installed(pattern, true);
if (dict == NULL) {
if (errno == ENOENT) {
errno = 0;