X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d29153dc010840afa45e70ced91c5e558fca6bb6..85c156c97d55956137974238386b0e5c17bfb64c:/scripts/feeds diff --git a/scripts/feeds b/scripts/feeds index d62e8e79d..f22adc55c 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -85,7 +85,7 @@ sub search_feed { foreach my $substr (@substr) { my $match; foreach my $key (qw(name title description)) { - $substr and $pkg->{$key} =~ m/$substr/i and $match = 1; + $pkg->{$key} and $substr and $pkg->{$key} =~ m/$substr/i and $match = 1; } $match or undef $pkgmatch; };