1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-12 00:03:44 +02:00

[scrips] feeds: extend 'search' to lookup in source package names too

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14537 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2009-02-17 03:44:43 +00:00
parent add93b4d50
commit 3232bd5180

View File

@ -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;