From a046bd511f0ee012d2b55dfa6bc3c518c8ef8db6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 1 Mar 2007 11:08:43 +0000 Subject: (do_action) fix crash in MandrivaUpdate --- Rpmdrake/gui.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index ceb0c757..32d37229 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -638,7 +638,7 @@ Do you really want to install all the selected packages?"), yesno => 1) reset_search(); $size_selected = 0; (undef, $size_free) = MDK::Common::System::df('/usr'); - $options->{rebuild_tree}->(); + $options->{rebuild_tree}->() if $options->{rebuild_tree}; gtktext_insert($o_info, '') if $o_info; } } -- cgit v1.2.1