aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/gui.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 84d7dfd5..43fa8eaa 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@
o use proper stock icons for arrows
- rpmdrake
o added dependencies section in package details panel (#39491)
+ o enable to apply priority updates without trying to select any
+ package
Version 5.17 - 1 June 2009, Thierry Vignaud
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index e1d0abbc..7241dbae 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -799,7 +799,7 @@ sub do_action__real {
$urpm->{fatal}(1, N("Error: %s appears to be mounted read-only.", $urpm::sys::mountpoint));
return 1;
}
- if (!int(grep { $pkgs->{$_}{selected} } keys %$pkgs)) {
+ if (!$Rpmdrake::pkg::need_restart && !int(grep { $pkgs->{$_}{selected} } keys %$pkgs)) {
interactive_msg(N("You need to select some packages first."), N("You need to select some packages first."));
return 1;
}