feeds: extend 'search' to lookup in source package names too
authorNicolas Thill <nico@openwrt.org>
Tue, 17 Feb 2009 03:44:43 +0000 (03:44 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 17 Feb 2009 03:44:43 +0000 (03:44 +0000)
SVN-Revision: 14537

scripts/feeds

index dd0a6c2fcd04f70731d5a4e9f2ba3f41e1c354be..4b53fd1174c90e114aedf13f765684bdae6d32c5 100755 (executable)
@@ -173,7 +173,7 @@ sub search_feed {
 
                foreach my $substr (@substr) {
                        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;
                        }
                        $match or undef $pkgmatch;