diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-02-13 22:52:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-02-13 22:52:23 +0000 |
commit | 4cc4765294d094cd0f0707fbc47d4b61d96e432b (patch) | |
tree | 45c1de130415dadeda92a5891090d0e6d5b43d04 /Rpmdrake | |
parent | 0bd5c2e9b7925455bc0e8b6ca9a06c9e7515511b (diff) | |
download | rpmdrake-4cc4765294d094cd0f0707fbc47d4b61d96e432b.tar rpmdrake-4cc4765294d094cd0f0707fbc47d4b61d96e432b.tar.gz rpmdrake-4cc4765294d094cd0f0707fbc47d4b61d96e432b.tar.bz2 rpmdrake-4cc4765294d094cd0f0707fbc47d4b61d96e432b.tar.xz rpmdrake-4cc4765294d094cd0f0707fbc47d4b61d96e432b.zip |
(already_installed_or_not_installable) do not show empty dialogs
rationale: due to some bugs in urpmi, we cannot always keep the state
and thus urpm::select::translate_already_installed() results in us
displaying empty dialogs sometimes
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/pkg.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index edef6254..b076d8b2 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -834,6 +834,7 @@ you may now inspect some in order to take actions:"), }, already_installed_or_not_installable => sub { my ($msg1, $msg2) = @_; + return if !($msg1 || $msg2); # workaround missing state interactive_msg(N("Error"), join("\n", @$msg1, @$msg2)); }, }, |