summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/media.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 0a7984a6..3ae26f0a 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@
update it at the same time as synthesis is updated)
- urpmi.update, urpmi.addmedia, urpmi.removemedia:
o drop option "-c" which used to clean /var/cache/urpmi/headers
+ o enhancement: only parse updated synthesis
- urpmi:
o do remove __db* on priority-upgrade
(fix regression introduced in 4.10.15)
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'}++;
}