From 4cc4765294d094cd0f0707fbc47d4b61d96e432b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 13 Feb 2009 22:52:23 +0000 Subject: (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 --- Rpmdrake/pkg.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Rpmdrake/pkg.pm') 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)); }, }, -- cgit v1.2.1