summaryrefslogtreecommitdiff
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
commit177b22a5414e83cf4dee866b36164c7adb17f659 (patch)
tree00f72234e26f16122341187fb1f5a8679510f697
parent9b759f26c9b32225f342dbf9acb24597110d3055 (diff)
downloadmtk-20170518-177b22a5414e83cf4dee866b36164c7adb17f659.zip
mtk-20170518-177b22a5414e83cf4dee866b36164c7adb17f659.tar.gz
mtk-20170518-177b22a5414e83cf4dee866b36164c7adb17f659.tar.bz2
feeds: extend 'search' to lookup in source package names too
SVN-Revision: 14537
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds
index dd0a6c2..4b53fd1 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;