summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-19 17:26:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-19 17:26:08 +0000
commit26b662e7e31b2fb741af28e1554849e363714c19 (patch)
tree6290dac26da46da80e4b9fc82ba8399a2fe35839 /urpm
parent18c7b48d5813c4bb3c841b61f446e71cbf34250d (diff)
downloadurpmi-26b662e7e31b2fb741af28e1554849e363714c19.tar
urpmi-26b662e7e31b2fb741af28e1554849e363714c19.tar.gz
urpmi-26b662e7e31b2fb741af28e1554849e363714c19.tar.bz2
urpmi-26b662e7e31b2fb741af28e1554849e363714c19.tar.xz
urpmi-26b662e7e31b2fb741af28e1554849e363714c19.zip
- urpmi.update, urpmi.addmedia, urpmi.removemedia:
o enhancement: only parse updated synthesis
Diffstat (limited to 'urpm')
-rw-r--r--urpm/media.pm2
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'}++;
}