aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rpmdrake/gui.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index dda0da89..930653fd 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -667,7 +667,8 @@ dangerous and should be considered with care.
Do you really want to install all the selected packages?"), yesno => 1)
or return;
}
- if (!$callback_action->($urpm, $pkgs)) {
+ my $res = $callback_action->($urpm, $pkgs);
+ if (!$res) {
$force_rebuild = 1;
pkgs_provider({ skip_updating_mu => 1 }, $options->{tree_mode}, if_($Rpmdrake::pkg::probe_only_for_updates, pure_updates => 1));
reset_search();
@@ -676,6 +677,7 @@ Do you really want to install all the selected packages?"), yesno => 1)
$options->{rebuild_tree}->() if $options->{rebuild_tree};
gtktext_insert($o_info, '') if $o_info;
}
+ $res;
}
sub do_action {