diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-10-01 11:32:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-10-01 11:32:19 +0000 |
commit | 5be8ced0798f549f7c974d156b821afa9c9c233f (patch) | |
tree | 97846228e64d6224da0591cb8b3d95bca26622fa | |
parent | 424061967f2a00973739d8dff379b0b3bd353ce5 (diff) | |
download | rpmdrake-5be8ced0798f549f7c974d156b821afa9c9c233f.tar rpmdrake-5be8ced0798f549f7c974d156b821afa9c9c233f.tar.gz rpmdrake-5be8ced0798f549f7c974d156b821afa9c9c233f.tar.bz2 rpmdrake-5be8ced0798f549f7c974d156b821afa9c9c233f.tar.xz rpmdrake-5be8ced0798f549f7c974d156b821afa9c9c233f.zip |
(do_action__real) enable to apply priority updates without trying to
select any package
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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; } |