aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-01 14:56:59 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-01 14:56:59 +0000
commit52495dddc217cd629d639897847f74003b064707 (patch)
treea19906ac91c55f9ac49d95aadee4f3852533b670
parent6712b020a073f2a6358cafc3dc30a4edfb0da3c6 (diff)
downloadrpmdrake-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-xrpmdrake5
1 files changed, 4 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 2ffdafdc..7a7e9e9d 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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_(