aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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 d30a5f1..47e5045 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -184,7 +184,7 @@ sub urpmi_command {
sub check_media_added {
my ($chroot, $media) = @_;
- my $medias = `urpmq --root $chroot --list-media 2>&1`;
+ my $medias = `urpmq --urpmi-root $chroot --list-media 2>&1`;
print "MEDIA $medias ($media)\n";
$medias =~ /$media/m;
}