summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index ba9c046b..782b34ad 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -593,6 +593,7 @@ sub update_media {
$urpm->{log}("reading hdlist file [$urpm->{statedir}/$medium->{hdlist}]");
$urpm->{params}->read_hdlists("$urpm->{statedir}/$medium->{hdlist}") or next;
eval {
+ unlink "$urpm->{statedir}/synthesis.$medium->{hdlist}";
local *F;
open F, "| gzip >'$urpm->{statedir}/synthesis.$medium->{hdlist}'";
foreach my $p (values %{$urpm->{params}{info}}) {