diff options
author | Francois Pons <fpons@mandriva.com> | 2002-07-23 18:25:42 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-07-23 18:25:42 +0000 |
commit | d7a2c64f600aac4c2b504cb12fe00280af58ce53 (patch) | |
tree | 15b086b1c69bb47b3710bbdd28c5fe729cfec089 /urpm.pm | |
parent | 8598875c5afcaef8d468ec31e3ad99abd081a414 (diff) | |
download | urpmi-d7a2c64f600aac4c2b504cb12fe00280af58ce53.tar urpmi-d7a2c64f600aac4c2b504cb12fe00280af58ce53.tar.gz urpmi-d7a2c64f600aac4c2b504cb12fe00280af58ce53.tar.bz2 urpmi-d7a2c64f600aac4c2b504cb12fe00280af58ce53.tar.xz urpmi-d7a2c64f600aac4c2b504cb12fe00280af58ce53.zip |
3.9-2mdk
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1879,8 +1879,10 @@ sub install { return fileno F; }; $options{callback_close} ||= sub { close F }; - $options{callback_inst} ||= \&install_logger; - $options{callback_trans} ||= \&install_logger; + if (keys %$install || keys %$upgrade) { + $options{callback_inst} ||= \&install_logger; + $options{callback_trans} ||= \&install_logger; + } @l = $trans->run($urpm, %options); } |