xbps-query/search: fix previous.
This commit is contained in:
parent
341e8a10ae
commit
3692ecb537
@ -130,8 +130,8 @@ search_array_cb(struct xbps_handle *xhp _unused,
|
||||
xbps_array_add_cstring_nocopy(sd->results, desc);
|
||||
} else {
|
||||
if ((strcasestr(pkgver, sd->pat)) ||
|
||||
(strcasestr(desc, sd->pat))) {
|
||||
(xbps_pkgpattern_match(pkgver, sd->pat)) ||
|
||||
(strcasestr(desc, sd->pat)) ||
|
||||
(xbps_pkgpattern_match(pkgver, sd->pat))) {
|
||||
xbps_array_add_cstring_nocopy(sd->results, pkgver);
|
||||
xbps_array_add_cstring_nocopy(sd->results, desc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user