mirror of
https://github.com/openwrt/openwrt.git
synced 2024-11-27 11:54:04 +08:00
feeds: extend 'search' to lookup in source package names too
SVN-Revision: 14537
This commit is contained in:
parent
9b759f26c9
commit
177b22a541
@ -173,7 +173,7 @@ sub search_feed {
|
|||||||
|
|
||||||
foreach my $substr (@substr) {
|
foreach my $substr (@substr) {
|
||||||
my $match;
|
my $match;
|
||||||
foreach my $key (qw(name title description)) {
|
foreach my $key (qw(name title description src)) {
|
||||||
$pkg->{$key} and $substr and $pkg->{$key} =~ m/$substr/i and $match = 1;
|
$pkg->{$key} and $substr and $pkg->{$key} =~ m/$substr/i and $match = 1;
|
||||||
}
|
}
|
||||||
$match or undef $pkgmatch;
|
$match or undef $pkgmatch;
|
||||||
|
Loading…
Reference in New Issue
Block a user