[Mageia-sysadm] [134] use urpmi-root when listing media
root at mageia.org
root at mageia.org
Wed Nov 24 20:26:10 CET 2010
Revision: 134
Author: blino
Date: 2010-11-24 20:26:09 +0100 (Wed, 24 Nov 2010)
Log Message:
-----------
use urpmi-root when listing media
Modified Paths:
--------------
build_system/iurt/trunk/lib/Iurt/Urpmi.pm
Modified: build_system/iurt/trunk/lib/Iurt/Urpmi.pm
===================================================================
--- build_system/iurt/trunk/lib/Iurt/Urpmi.pm 2010-11-24 12:11:00 UTC (rev 133)
+++ build_system/iurt/trunk/lib/Iurt/Urpmi.pm 2010-11-24 19:26:09 UTC (rev 134)
@@ -184,7 +184,7 @@
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;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101124/9ea6b4bf/attachment.html>
More information about the Mageia-sysadm
mailing list