xbps-repo(8): improved the 'search' target to also match substrings
in package/version tuples.
This commit is contained in:
parent
f2d8d5cc89
commit
401d197c06
5
NEWS
5
NEWS
@ -1,3 +1,8 @@
|
|||||||
|
xbps-0.6.0 (2010-07-01):
|
||||||
|
|
||||||
|
* xbps-repo(8): improved the 'search' target to also match substrings in
|
||||||
|
package/version tuples.
|
||||||
|
|
||||||
xbps-0.5.1 (2010-05-12):
|
xbps-0.5.1 (2010-05-12):
|
||||||
|
|
||||||
* Fixed build issues in RHEL5, Ubuntu and others distributions.
|
* Fixed build issues in RHEL5, Ubuntu and others distributions.
|
||||||
|
@ -198,6 +198,8 @@ show_pkg_namedesc(prop_object_t obj, void *arg, bool *loop_done)
|
|||||||
printf(" %s - %s\n", pkgver, desc);
|
printf(" %s - %s\n", pkgver, desc);
|
||||||
else if (xbps_pkgpattern_match(desc, pattern) == 1)
|
else if (xbps_pkgpattern_match(desc, pattern) == 1)
|
||||||
printf(" %s - %s\n", pkgver, desc);
|
printf(" %s - %s\n", pkgver, desc);
|
||||||
|
else if (strstr(pkgver, pattern))
|
||||||
|
printf(" %s - %s\n", pkgver, desc);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user