diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-04-29 15:44:54 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-04-29 15:44:54 +0000 |
commit | a46304b7889bf47f6bc19004646dd6f774d78693 (patch) | |
tree | a0b2df42d86d04097839e153d02345474b29c9b3 | |
parent | cf9459f4a87d41375d9388c436e34f5da9ee2b35 (diff) | |
download | rpmdrake-a46304b7889bf47f6bc19004646dd6f774d78693.tar rpmdrake-a46304b7889bf47f6bc19004646dd6f774d78693.tar.gz rpmdrake-a46304b7889bf47f6bc19004646dd6f774d78693.tar.bz2 rpmdrake-a46304b7889bf47f6bc19004646dd6f774d78693.tar.xz rpmdrake-a46304b7889bf47f6bc19004646dd6f774d78693.zip |
(pkg2medium) fix listing _one_ non installed package as installed (#50276)
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | Rpmdrake/formatting.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,5 @@ - rpmdrake: + o fix listing _one_ non installed package as installed (#50276) o fix swedish translation that broke menu structure (#49989) o default "Compute updates on startup" to yes (fix "MandrivaUpdate and urpmi show updated rpm, while rpmdrake diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm index bf9b8ae3..85c6833c 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 !$p->id; # if installed + return { name => N("None (installed)") } if !defined $p->id || $p->flag_installed; # if installed URPM::pkg2media($urpm->{media}, $p) || undef; } |