summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-08-06 13:25:34 +0000
committerFrancois Pons <fpons@mandriva.com>2002-08-06 13:25:34 +0000
commitf862a58daaf68fbe718c062452897a95cb8b485a (patch)
tree26ebcc44810aa556303718fa7ae70323f6ccae51 /urpm.pm
parentb6f89cac2475192362cc9325427957b7616d3a95 (diff)
downloadurpmi-f862a58daaf68fbe718c062452897a95cb8b485a.tar
urpmi-f862a58daaf68fbe718c062452897a95cb8b485a.tar.gz
urpmi-f862a58daaf68fbe718c062452897a95cb8b485a.tar.bz2
urpmi-f862a58daaf68fbe718c062452897a95cb8b485a.tar.xz
urpmi-f862a58daaf68fbe718c062452897a95cb8b485a.zip
3.9-6mdk
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 6928a35b..fecec1e6 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -711,8 +711,12 @@ sub select_media {
} elsif (@found == 0 && @foundi == 0) {
$urpm->{error}(_("trying to select inexistent medium \"%s\"", $_));
} else { #- multiple element in found or foundi list.
- $urpm->{error}(_("trying to select multiple media: %s", join(", ", map { _("\"%s\"", $_->{name}) }
- (@found ? @found : @foundi))));
+ $urpm->{log}(_("selecting multiple media: %s", join(", ", map { _("\"%s\"", $_->{name}) }
+ (@found ? @found : @foundi))));
+ #- changed behaviour to select all occurence by default.
+ foreach (@found ? @found : @foundi) {
+ $_->{modified} = 1;
+ }
}
}
}