diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-03-28 11:42:39 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-03-28 11:42:39 +0000 |
commit | 75479851e6b1bad081d935101f6106923e5b0ae3 (patch) | |
tree | d4e2c95d47daae66e9e69bd03cf443a461b8ce6f /urpm | |
parent | eb5e45faba8ce05220bd5330bb29910484908d11 (diff) | |
download | urpmi-75479851e6b1bad081d935101f6106923e5b0ae3.tar urpmi-75479851e6b1bad081d935101f6106923e5b0ae3.tar.gz urpmi-75479851e6b1bad081d935101f6106923e5b0ae3.tar.bz2 urpmi-75479851e6b1bad081d935101f6106923e5b0ae3.tar.xz urpmi-75479851e6b1bad081d935101f6106923e5b0ae3.zip |
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)
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/media.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; |