summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-10 22:37:48 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-10 22:37:48 +0000
commit342338f1c877625db200d2bf51c2d42d0036f1b3 (patch)
tree769971132e80cbe7e3a4ae28966454277a0ada82 /urpm.pm
parent5f2f72b5abba11285f4c6cc709ad8d7576158b67 (diff)
(get_updates_description) add some comments from old commits
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index 2e7f6be7..0824eb99 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -234,8 +234,10 @@ sub get_updates_description {
@update_medias or @update_medias = grep { !$_->{ignore} && $_->{update} } @{$urpm->{media}};
foreach my $medium (@update_medias) {
+ # fix not taking into account the last %package token of each descrptions file: '%package dummy'
foreach (cat_utf8(urpm::media::statedir_descriptions($urpm, $medium)), '%package dummy') {
/^%package +(.+)/ and do {
+ # fixes not parsing descriptions file when MU adds itself the security source:
if (exists $cur->{importance} && !member($cur->{importance}, qw(security bugfix))) {
$cur->{importance} = 'normal';
}