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:
@ -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;
|
||||
|
Reference in New Issue
Block a user