From 75479851e6b1bad081d935101f6106923e5b0ae3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 28 Mar 2008 11:42:39 +0000 Subject: add_distrib_media(): be sure to override "with-dir" when calling add_medium() (gurpmi.addmedia was plaggued by this, but it is fixed in gurpmi.addmedia too) --- urpm/media.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urpm/media.pm b/urpm/media.pm index 01d1c737..09d9edae 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -834,9 +834,9 @@ sub add_distrib_media { !$use_copied_synthesis && $options{probe_with} ? ($options{probe_with} => 1) : (), index_name => $name ? undef : 0, $add_by_default ? () : (ignore => 1), - $options{mirrorlist} ? ('with-dir' => $distribconf->getpath($media, 'path')) : (), %options, # the following override %options + $options{mirrorlist} ? ('with-dir' => $distribconf->getpath($media, 'path')) : (), update => $is_update_media ? 1 : undef, ); ++$medium_index; -- cgit v1.2.1