diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/media.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm index f6c3e70d..366f6363 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1377,7 +1377,7 @@ sub update_media { _update_media__handle_some_flags($urpm, $options{forcekey}, $options{all}); my %updates_result; - foreach my $medium (grep { !$_->{ignore} } @{$urpm->{media}}) { + foreach my $medium (grep { !$_->{ignore} && $_->{modified} } @{$urpm->{media}}) { my $rc = _update_medium($urpm, $medium, %options); $updates_result{$rc || 'error'}++; } |