diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-06-01 14:31:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-06-01 14:31:24 +0000 |
commit | a7d92d96b82cd05add23d36f0e1207d4440c6e50 (patch) | |
tree | 64b8b41d4a26cf376f25016fbc92efe54054eda9 /Rpmdrake | |
parent | 38d938879ce5613cc4246b7defa85c57ced7b2d8 (diff) | |
download | rpmdrake-a7d92d96b82cd05add23d36f0e1207d4440c6e50.tar rpmdrake-a7d92d96b82cd05add23d36f0e1207d4440c6e50.tar.gz rpmdrake-a7d92d96b82cd05add23d36f0e1207d4440c6e50.tar.bz2 rpmdrake-a7d92d96b82cd05add23d36f0e1207d4440c6e50.tar.xz rpmdrake-a7d92d96b82cd05add23d36f0e1207d4440c6e50.zip |
(pkg2medium) revert part of r257150 from 2009-04-29 (considering the
installed flag), thus fixing not displaying importance and reasons of
updates (b/c we wrongly though that the medium was "None (installed)"
instead of eg: "Main Updates") (#51118)
(r257150 was: "(pkg2medium) fix listing _one_ non installed package as
installed (#50276)")
(backported from trunk)
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/formatting.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm index 85c6833c..a94e0dc0 100644 --- a/Rpmdrake/formatting.pm +++ b/Rpmdrake/formatting.pm @@ -99,7 +99,7 @@ sub urpm_name { sub pkg2medium { my ($p, $urpm) = @_; return if !ref $p; - return { name => N("None (installed)") } if !defined $p->id || $p->flag_installed; # if installed + return { name => N("None (installed)") } if !defined $p->id; # if installed URPM::pkg2media($urpm->{media}, $p) || undef; } |