feeds: restore previously active feed after install_package(), fixes install all case for packages with inter-feed dependencies

SVN-Revision: 23171
This commit is contained in:
Jo-Philipp Wich 2010-10-02 02:37:27 +00:00
parent b7e25b807b
commit adcfdc46e0

View file

@ -402,6 +402,7 @@ sub install {
next if $p->{vdepends}; next if $p->{vdepends};
if( $p->{name} ) { if( $p->{name} ) {
install_package($feed, $p->{name}) == 0 or $ret = 1; install_package($feed, $p->{name}) == 0 or $ret = 1;
get_feed($f->[1]);
} }
} }
} }