summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-05 09:59:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-05 09:59:19 +0000
commite4f4901277e61cc1d651a03261b5c36a0468ee03 (patch)
tree149687cfd0d20130f40b47d48e16a9b7ac69cd82 /urpm
parent69a8ae6b3cd30af6a75d7f03b9452596401d1b5c (diff)
downloadurpmi-e4f4901277e61cc1d651a03261b5c36a0468ee03.tar
urpmi-e4f4901277e61cc1d651a03261b5c36a0468ee03.tar.gz
urpmi-e4f4901277e61cc1d651a03261b5c36a0468ee03.tar.bz2
urpmi-e4f4901277e61cc1d651a03261b5c36a0468ee03.tar.xz
urpmi-e4f4901277e61cc1d651a03261b5c36a0468ee03.zip
- urpmi
o handle --searchmedia <media1>,...,<mediaN> (asked by tvignaud for rpmdrake)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 7e94100a..cfc3ab8a 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -541,7 +541,7 @@ sub configure {
}
}
if ($options{searchmedia}) {
- foreach (select_media_by_name($urpm, [ $options{searchmedia} ])) {
+ foreach (select_media_by_name($urpm, [ split /,/, $options{searchmedia} ])) {
#- Ensure this media is selected
$_->{modified} = 1;
_tempignore($_, 0);