mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:55:55 +02:00
add support for conditional depends to the feeds script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13004 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fb4892d8a4
commit
5a00c988a2
@ -290,8 +290,9 @@ sub install_package {
|
|||||||
foreach my $vpkg (@{$srcpackage{$src}}, $pkg) {
|
foreach my $vpkg (@{$srcpackage{$src}}, $pkg) {
|
||||||
foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) {
|
foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) {
|
||||||
next if $dep =~ /@/;
|
next if $dep =~ /@/;
|
||||||
next if $dep =~ /:/;
|
|
||||||
$dep =~ s/^\+//;
|
$dep =~ s/^\+//;
|
||||||
|
$dep =~ s/^.+://;
|
||||||
|
next unless $dep;
|
||||||
install_package($feed, $dep) == 0 or $ret = 1;
|
install_package($feed, $dep) == 0 or $ret = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user