diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-10 22:37:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-10 22:37:48 +0000 |
commit | 342338f1c877625db200d2bf51c2d42d0036f1b3 (patch) | |
tree | 769971132e80cbe7e3a4ae28966454277a0ada82 /urpm.pm | |
parent | 5f2f72b5abba11285f4c6cc709ad8d7576158b67 (diff) | |
download | urpmi-342338f1c877625db200d2bf51c2d42d0036f1b3.tar urpmi-342338f1c877625db200d2bf51c2d42d0036f1b3.tar.gz urpmi-342338f1c877625db200d2bf51c2d42d0036f1b3.tar.bz2 urpmi-342338f1c877625db200d2bf51c2d42d0036f1b3.tar.xz urpmi-342338f1c877625db200d2bf51c2d42d0036f1b3.zip |
(get_updates_description) add some comments from old commits
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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'; } |