Changeset 12101


Ignore:
Timestamp:
2008-08-05T00:03:28+02:00 (10 years ago)
Author:
nbd
Message:

fix scripts/feeds dependency lookup: process deps for all virtual packages of a src package that belongs to the package that the user wants to install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/feeds

    r10823 r12101  
    281281 
    282282        # install all dependencies 
    283         foreach my $dep (@{$pkg->{depends}}, @{$pkg->{builddepends}}) { 
    284                 next if $dep =~ /@/; 
    285                 $dep =~ s/^\+//; 
    286                 install_package($feed, $dep) == 0 or $ret = 1; 
     283        foreach my $vpkg (@{$srcpackage{$src}}) { 
     284                foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) { 
     285                        next if $dep =~ /@/; 
     286                        $dep =~ s/^\+//; 
     287                        install_package($feed, $dep) == 0 or $ret = 1; 
     288                } 
    287289        } 
    288290 
Note: See TracChangeset for help on using the changeset viewer.