diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-10 22:28:32 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-10 22:28:32 +0000 |
commit | 76f4a468bd97860af09ef6a6228bebb7ce97692b (patch) | |
tree | 83e437b6c2980aee6322e93c36db9faa94ecda29 /urpm.pm | |
parent | 5942fb52d138b09be0ada1784dabaa6838d7afae (diff) | |
download | urpmi-76f4a468bd97860af09ef6a6228bebb7ce97692b.tar urpmi-76f4a468bd97860af09ef6a6228bebb7ce97692b.tar.gz urpmi-76f4a468bd97860af09ef6a6228bebb7ce97692b.tar.bz2 urpmi-76f4a468bd97860af09ef6a6228bebb7ce97692b.tar.xz urpmi-76f4a468bd97860af09ef6a6228bebb7ce97692b.zip |
(get_updates_description) use member()
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -236,7 +236,7 @@ sub get_updates_description { foreach my $medium (@update_medias) { foreach (cat_utf8(urpm::media::statedir_descriptions($urpm, $medium)), '%package dummy') { /^%package (.+)/ and do { - if (exists $cur->{importance} && $cur->{importance} ne "security" && $cur->{importance} ne "bugfix") { + if (exists $cur->{importance} && !member($cur->{importance}, qw(security bugfix))) { $cur->{importance} = 'normal'; } $update_descr{$_} = $cur foreach @{$cur->{pkgs}}; |