summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/urpm.pm b/urpm.pm
index f20e3169..7ff090b0 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -788,10 +788,8 @@ sub add_distrib_media {
} else {
unlink "$urpm->{cachedir}/partial/media.cfg";
- # Workaround, settree not implement for now
- # $distribconf->settree('mandriva');
- $distribconf->{infodir} = "media/media_info";
- $distribconf->{mediadir} = "media";
+
+ $distribconf->settree('mandriva');
eval {
$urpm->{log}(N("retrieving media.cfg file..."));