diff options
-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 33d322a..8a383a5 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -215,7 +215,7 @@ sub add_media { plog("add chroot media: $run->{chrooted_media}"); - if (!perform_command("urpmi-addmedia $media", + if (!perform_command("chroot $chroot urpmi.addmedia $media", $run, $config, $cache, mail => $config->{admin}, timeout => 300, |