summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-15 14:49:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-15 14:49:26 +0000
commit698a760054ec9667081521394c8b2f7cda85a50a (patch)
tree217b0af8cbf22a68bff9f74d667112d39de014a8 /urpm.pm
parent9e8d18ea6ec624dc03e92d3d9032daab3e2c197c (diff)
downloadurpmi-698a760054ec9667081521394c8b2f7cda85a50a.tar
urpmi-698a760054ec9667081521394c8b2f7cda85a50a.tar.gz
urpmi-698a760054ec9667081521394c8b2f7cda85a50a.tar.bz2
urpmi-698a760054ec9667081521394c8b2f7cda85a50a.tar.xz
urpmi-698a760054ec9667081521394c8b2f7cda85a50a.zip
removing $medium->{name}.cache was introduced in commit 33830, but i can't
find out the reason why... dropping
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}/$_";
}