aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/pkg.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 3f645db7..910b1ade 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- ensure we always restart if needed
- fix displaying garbaged UTF-8 descriptions (eg: cgoban1)
(instead of displaying "none")
- workaround crashing while performing medium name lookup (#38793)
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index c52e4d9c..443e166a 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -610,7 +610,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
# select packages to install / enssure selected pkg set is consistant:
my $requested = { map { $_->id => undef } grep { $_->flag_selected } @{$urpm->{depslist}} };
- $need_restart = urpm::select::resolve_dependencies(
+ $need_restart ||= urpm::select::resolve_dependencies(
$urpm, $state, $requested,
callback_choices => \&Rpmdrake::gui::callback_choices,
priority_upgrade => $urpm->{options}{'priority-upgrade'},