aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-01 11:08:43 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-01 11:08:43 +0000
commita046bd511f0ee012d2b55dfa6bc3c518c8ef8db6 (patch)
tree1687d10560e5e60dbbebf68c5ae84c99c686656c
parentb6128294bb8f42d0a46e7a7eacfb869a740a56da (diff)
downloadrpmdrake-a046bd511f0ee012d2b55dfa6bc3c518c8ef8db6.tar
rpmdrake-a046bd511f0ee012d2b55dfa6bc3c518c8ef8db6.tar.gz
rpmdrake-a046bd511f0ee012d2b55dfa6bc3c518c8ef8db6.tar.bz2
rpmdrake-a046bd511f0ee012d2b55dfa6bc3c518c8ef8db6.tar.xz
rpmdrake-a046bd511f0ee012d2b55dfa6bc3c518c8ef8db6.zip
(do_action) fix crash in MandrivaUpdate
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
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;
}
}