diff options
author | Marcelo Leitner <mrl@mandriva.com> | 2007-06-15 18:05:51 +0000 |
---|---|---|
committer | Marcelo Leitner <mrl@mandriva.com> | 2007-06-15 18:05:51 +0000 |
commit | 3e575f117c3aa90db6947d7dead9a64a6058d6d0 (patch) | |
tree | 03c470f38835a1d1c9bc95c489edfaba62e737eb | |
parent | 4725311c93db97c21df6182f4074129a02f74c01 (diff) | |
download | iurt-3e575f117c3aa90db6947d7dead9a64a6058d6d0.tar iurt-3e575f117c3aa90db6947d7dead9a64a6058d6d0.tar.gz iurt-3e575f117c3aa90db6947d7dead9a64a6058d6d0.tar.bz2 iurt-3e575f117c3aa90db6947d7dead9a64a6058d6d0.tar.xz iurt-3e575f117c3aa90db6947d7dead9a64a6058d6d0.zip |
- Fix cache path
-rw-r--r-- | lib/Iurt/Urpmi.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 091630d..259b81e 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -118,7 +118,7 @@ sub urpmi_command { $url = $run->{additional_media}{repository}; } else { - $url = "/urpmi_medias/media/$m"; + $url = "/urpmi_medias/$run->{distro}/$m"; } if (!add_media($self, $chroot_tmp, $name, "$name $url")) { plog("ERROR: Unable to add media $m"); |