[scrips] feeds: extend 'search' to lookup in source package names too
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 17 Feb 2009 03:44:43 +0000 (03:44 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 17 Feb 2009 03:44:43 +0000 (03:44 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14537 3c298f89-4303-0410-b956-a3cf2f4a3e73

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;
This page took 0.022921 seconds and 4 git commands to generate.