aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Iurt')
-rw-r--r--lib/Iurt/Urpmi.pm2
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");