From 342338f1c877625db200d2bf51c2d42d0036f1b3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 10 Aug 2007 22:37:48 +0000 Subject: (get_updates_description) add some comments from old commits --- urpm.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'urpm.pm') 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'; } -- cgit v1.2.1