diff options
Diffstat (limited to 'Rpmdrake/gui.pm')
-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; } |