diff options
author | Olivier Blin <blino@mageia.org> | 2010-11-24 19:26:09 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2010-11-24 19:26:09 +0000 |
commit | bdf484a2bd0162ad9573d297f0a4fbd671992d9f (patch) | |
tree | 54655439d9bddc029e2cef4f11a5505b0ccf7908 /lib/Iurt/Urpmi.pm | |
parent | 9488aa86da0b0c8afe38e29f22cbf1ebfa65bbe3 (diff) | |
download | iurt-bdf484a2bd0162ad9573d297f0a4fbd671992d9f.tar iurt-bdf484a2bd0162ad9573d297f0a4fbd671992d9f.tar.gz iurt-bdf484a2bd0162ad9573d297f0a4fbd671992d9f.tar.bz2 iurt-bdf484a2bd0162ad9573d297f0a4fbd671992d9f.tar.xz iurt-bdf484a2bd0162ad9573d297f0a4fbd671992d9f.zip |
use urpmi-root when listing media
Diffstat (limited to 'lib/Iurt/Urpmi.pm')
-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 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; } |