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 /Rpmdrake | |
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
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/gui.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |