diff options
author | Francois Pons <fpons@mandriva.com> | 2002-08-06 13:25:34 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-08-06 13:25:34 +0000 |
commit | f862a58daaf68fbe718c062452897a95cb8b485a (patch) | |
tree | 26ebcc44810aa556303718fa7ae70323f6ccae51 /urpm.pm | |
parent | b6f89cac2475192362cc9325427957b7616d3a95 (diff) | |
download | urpmi-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.pm | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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; + } } } } |