diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-05-08 10:39:32 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-05-08 10:39:32 +0000 |
commit | 1428bca7f52b72ff6d8e87835222bcffd67e53f8 (patch) | |
tree | 24ba83ab1b2529a922334879cc660b8e1be4ad68 | |
parent | d4cb02e78f0a5e442f569767c538b928d046b225 (diff) | |
download | mtk-20170518-1428bca7f52b72ff6d8e87835222bcffd67e53f8.zip mtk-20170518-1428bca7f52b72ff6d8e87835222bcffd67e53f8.tar.gz mtk-20170518-1428bca7f52b72ff6d8e87835222bcffd67e53f8.tar.bz2 |
scripts/feeds: ignore virtual packages
SVN-Revision: 15706
-rwxr-xr-x | scripts/feeds | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/feeds b/scripts/feeds index e51b17c..d6a6355 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -179,6 +179,7 @@ sub search_feed { my $substr; my $pkgmatch = 1; + next if $pkg->{vdepends}; foreach my $substr (@substr) { my $match; foreach my $key (qw(name title description src)) { @@ -212,6 +213,7 @@ sub list_feed { get_feed($feed); foreach my $name (sort { lc($a) cmp lc($b) } keys %package) { my $pkg = $package{$name}; + next if $pkg->{vdepends}; if($pkg->{name}) { printf "\%-32s\t\%s\n", $pkg->{name}, $pkg->{title}; } @@ -384,6 +386,7 @@ sub install { get_feed($f->[1]); foreach my $name (sort { lc($a) cmp lc($b) } keys %package) { my $p = $package{$name}; + next if $p->{vdepends}; if( $p->{name} ) { install_package($feed, $p->{name}) == 0 or $ret = 1; } |