[scrips] 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 dd0a6c2..4b53fd1 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;