diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-03-17 17:20:02 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-03-17 17:20:02 +0000 |
commit | f0bc8483bcb43e955862a375161e99658dce49b1 (patch) | |
tree | 276202f7f8763d68db149d541d1c10a4af6b79c8 /urpmi | |
parent | 969efed0bf6ffea584f378ae89ec28a89e02254f (diff) | |
download | urpmi-f0bc8483bcb43e955862a375161e99658dce49b1.tar urpmi-f0bc8483bcb43e955862a375161e99658dce49b1.tar.gz urpmi-f0bc8483bcb43e955862a375161e99658dce49b1.tar.bz2 urpmi-f0bc8483bcb43e955862a375161e99658dce49b1.tar.xz urpmi-f0bc8483bcb43e955862a375161e99658dce49b1.zip |
- urpmi:
o tell the user to "restart system" when it is needed
Diffstat (limited to 'urpmi')
-rwxr-xr-x | urpmi | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -666,6 +666,10 @@ my $exit_code = urpm::main_loop::run($urpm, $state, my $yesexpr = N("Yy"); $force || message_input_($msg, boolean => 1) =~ /[$yesexpr]/; }, + need_restart => sub { + my ($need_restart_formatted) = @_; + print "$_\n" foreach values %$need_restart_formatted; + }, message => sub { my ($_title, $msg) = @_; # graphical title print $msg; |