diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-01 14:56:59 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-01 14:56:59 +0000 |
commit | 52495dddc217cd629d639897847f74003b064707 (patch) | |
tree | a19906ac91c55f9ac49d95aadee4f3852533b670 | |
parent | 6712b020a073f2a6358cafc3dc30a4edfb0da3c6 (diff) | |
download | rpmdrake-52495dddc217cd629d639897847f74003b064707.tar rpmdrake-52495dddc217cd629d639897847f74003b064707.tar.gz rpmdrake-52495dddc217cd629d639897847f74003b064707.tar.bz2 rpmdrake-52495dddc217cd629d639897847f74003b064707.tar.xz rpmdrake-52495dddc217cd629d639897847f74003b064707.zip |
Clean cache after downloads (bug #20767)
-rwxr-xr-x | rpmdrake | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1550,7 +1550,10 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( } my %pkgs = map { $_->id => undef } grep { $_->flag_selected } @{$urpm->{depslist}}; - my ($local_sources, $list, $local_to_removes) = $urpm->get_source_packages(\%pkgs); + my ($local_sources, $list, $local_to_removes) = $urpm->get_source_packages( + \%pkgs, + clean_all => 1, + ); my $distant_number = scalar keys %pkgs; if (!$local_sources && (!$list || !@$list)) { interactive_msg_( |