/[packages]/updates/1/urpmi/current/SOURCES/urpmi-1024.diff
ViewVC logotype

Contents of /updates/1/urpmi/current/SOURCES/urpmi-1024.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 101464 - (show annotations) (download)
Wed Jun 1 19:01:05 2011 UTC (10 years, 11 months ago) by schedbot
File size: 1450 byte(s)
SILENT: branch release 1
1 diff -p -up ./urpm/media.pm.tv ./urpm/media.pm
2 --- ./urpm/media.pm.tv 2011-05-04 15:56:19.524541154 +0000
3 +++ ./urpm/media.pm 2011-05-04 15:57:52.500660138 +0000
4 @@ -668,7 +668,7 @@ sub configure {
5 }
6 _auto_update_media($urpm, %options);
7
8 - _pick_mirror_if_needed($urpm, $_, '') foreach non_ignored_media($urpm);
9 + _pick_mirror_if_needed($urpm, $_, '') foreach non_ignored_media($urpm, $options{update});
10
11 parse_media($urpm, \%options) if !$options{nodepslist};
12
13 @@ -687,7 +687,7 @@ sub _auto_update_media {
14 $options{callback} = delete $options{download_callback};
15
16 foreach (grep { _is_remote_virtual($_) || $urpm->{options}{'auto-update'} }
17 - non_ignored_media($urpm)) {
18 + non_ignored_media($urpm, $options{update})) {
19 _update_medium($urpm, $_, %options);
20 }
21 }
22 @@ -710,7 +710,7 @@ sub all_media_to_update {
23 sub parse_media {
24 my ($urpm, $options) = @_;
25
26 - foreach (non_ignored_media($urpm)) {
27 + foreach (non_ignored_media($urpm, $options->{update})) {
28 delete @$_{qw(start end)};
29 _parse_synthesis_or_ignore($urpm, $_, $options->{callback});
30
31 @@ -1871,7 +1871,7 @@ sub update_media {
32 $_->{modified} ||= 1 foreach all_media_to_update($urpm);
33 }
34
35 - update_those_media($urpm, [ grep { $_->{modified} } non_ignored_media($urpm) ], %options);
36 + update_those_media($urpm, [ grep { $_->{modified} } non_ignored_media($urpm, $options{update}) ], %options);
37 }
38
39 sub update_those_media {

  ViewVC Help
Powered by ViewVC 1.1.28