summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index dde26d85..049084ac 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -976,8 +976,7 @@ sub remove_media {
$urpm->{modified} = 1;
#- remove files associated with this medium.
- foreach ($_->{hdlist}, $_->{list}, "synthesis.$_->{hdlist}", "descriptions.$_->{name}", "names.$_->{name}",
- "$_->{name}.cache") {
+ foreach ($_->{hdlist}, $_->{list}, "synthesis.$_->{hdlist}", "descriptions.$_->{name}", "names.$_->{name}") {
$_ and unlink "$urpm->{statedir}/$_";
}