add support for conditional depends to the feeds script
[openwrt.git] / scripts / feeds
index ab765b1..76d83af 100755 (executable)
@@ -291,6 +291,8 @@ sub install_package {
                foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) {
                        next if $dep =~ /@/;
                        $dep =~ s/^\+//;
+                       $dep =~ s/^.+://;
+                       next unless $dep;
                        install_package($feed, $dep) == 0 or $ret = 1;
                }
        }
This page took 0.022039 seconds and 4 git commands to generate.