aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/feeds
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-08 10:39:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-08 10:39:32 +0000
commit63629ed8a0e184c69487d8d6835c1484febc693c (patch)
tree8f52a6ccf9fd57436024ff311a74d5a2435ddb8d /scripts/feeds
parent82c60edbc128927fc8fdaa61394fc2b29ad9bed2 (diff)
downloadupstream-63629ed8a0e184c69487d8d6835c1484febc693c.tar.gz
upstream-63629ed8a0e184c69487d8d6835c1484febc693c.tar.bz2
upstream-63629ed8a0e184c69487d8d6835c1484febc693c.zip
scripts/feeds: ignore virtual packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15706 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-xscripts/feeds3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/feeds b/scripts/feeds
index e51b17c372..d6a6355183 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;
}