summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2006-08-25 00:22:16 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2006-08-25 00:22:16 +0000
commit168ab9dcf7ca1da388599a9519d4f4d6b9c1ba63 (patch)
treef1c5ea65322593cb6ecd15efd154cb5fd133d9b4
parent36b79ac44ebbacc137e676c0b789fdd998dc8506 (diff)
downloadurpmi-168ab9dcf7ca1da388599a9519d4f4d6b9c1ba63.tar
urpmi-168ab9dcf7ca1da388599a9519d4f4d6b9c1ba63.tar.gz
urpmi-168ab9dcf7ca1da388599a9519d4f4d6b9c1ba63.tar.bz2
urpmi-168ab9dcf7ca1da388599a9519d4f4d6b9c1ba63.tar.xz
urpmi-168ab9dcf7ca1da388599a9519d4f4d6b9c1ba63.zip
- remove workaround, now function exists
-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..."));