From 5a00c988a2992936335cd561f1ede63a89bb7a1b Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 18 Oct 2008 19:36:44 +0000 Subject: [PATCH] add support for conditional depends to the feeds script git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13004 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/feeds | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/feeds b/scripts/feeds index 8ec0799f7..76d83af9a 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -290,8 +290,9 @@ sub install_package { foreach my $vpkg (@{$srcpackage{$src}}, $pkg) { foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) { next if $dep =~ /@/; - next if $dep =~ /:/; $dep =~ s/^\+//; + $dep =~ s/^.+://; + next unless $dep; install_package($feed, $dep) == 0 or $ret = 1; } } -- 2.20.1