summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-03 17:15:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-03 17:15:19 +0000
commitbd9dbe0f3987d63484582a939d7a4feb1000f829 (patch)
tree7e758131c92322dfdfaab6921cd82c08cf66be03 /urpm.pm
parent0433fe833b0f86f87170f490c890c2a33c412208 (diff)
downloadurpmi-bd9dbe0f3987d63484582a939d7a4feb1000f829.tar
urpmi-bd9dbe0f3987d63484582a939d7a4feb1000f829.tar.gz
urpmi-bd9dbe0f3987d63484582a939d7a4feb1000f829.tar.bz2
urpmi-bd9dbe0f3987d63484582a939d7a4feb1000f829.tar.xz
urpmi-bd9dbe0f3987d63484582a939d7a4feb1000f829.zip
- create non_modified_media() and use it
- rename _parse_media() into parse_media() for next commit
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 74398558..85bb5c15 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -337,7 +337,7 @@ sub get_updates_description {
my %update_descr;
my ($cur, $section);
- @update_medias or @update_medias = grep { !$_->{ignore} && $_->{update} } @{$urpm->{media}};
+ @update_medias or @update_medias = urpm::media::non_ignored_media($urpm, 'update');
foreach my $medium (@update_medias) {
# fix not taking into account the last %package token of each descrptions file: '%package dummy'