diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-25 12:21:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-25 12:21:01 +0000 |
commit | 4c7d748edf03fb206adaca596f2e188393d1bd93 (patch) | |
tree | 4d9d275ed84c1357cb9402f52697d4905e9dd064 | |
parent | 082a2550f00d0d21e63983944be159c412f05f88 (diff) | |
download | urpmi-4c7d748edf03fb206adaca596f2e188393d1bd93.tar urpmi-4c7d748edf03fb206adaca596f2e188393d1bd93.tar.gz urpmi-4c7d748edf03fb206adaca596f2e188393d1bd93.tar.bz2 urpmi-4c7d748edf03fb206adaca596f2e188393d1bd93.tar.xz urpmi-4c7d748edf03fb206adaca596f2e188393d1bd93.zip |
deffine 'message' callback
-rwxr-xr-x | urpmi | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -648,6 +648,10 @@ my $exit_code = urpm::main_loop::run($urpm, $state, my $yesexpr = N("Yy"); $force || message_input_($msg, boolean => 1) =~ /[$yesexpr]/; }, + message => sub { + my ($_title, $msg) = @_; # graphical title + print $msg; + } }); unless ($env || $options{nolock}) { |