aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-02-17 03:44:43 +0000
committerNicolas Thill <nico@openwrt.org>2009-02-17 03:44:43 +0000
commit2c4b52a3b4770b5ca4ba6b090a014dabc7caad60 (patch)
tree9f0dd8f5a0152ef0e86cf88c83da76c2922cbf2e
parent9a4014daef67d7c3e3314220ff22b69a812afa3a (diff)
downloadupstream-2c4b52a3b4770b5ca4ba6b090a014dabc7caad60.tar.gz
upstream-2c4b52a3b4770b5ca4ba6b090a014dabc7caad60.tar.bz2
upstream-2c4b52a3b4770b5ca4ba6b090a014dabc7caad60.zip
[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
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds
index dd0a6c2fcd..4b53fd1174 100755
--- a/scripts/feeds
+++ b/scripts/feeds
@@ -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;