diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-04 15:40:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-04 15:40:43 +0000 |
commit | 086506b80163940864a3389a6ae36dd0f66d521b (patch) | |
tree | e89f98a53b40471eb9028adae1614d5e312ba69b /perl-install/install/pkgs.pm | |
parent | cb1d30b71cc6ce989cab51f4ffe9ca1a036c39a0 (diff) | |
download | drakx-086506b80163940864a3389a6ae36dd0f66d521b.tar drakx-086506b80163940864a3389a6ae36dd0f66d521b.tar.gz drakx-086506b80163940864a3389a6ae36dd0f66d521b.tar.bz2 drakx-086506b80163940864a3389a6ae36dd0f66d521b.tar.xz drakx-086506b80163940864a3389a6ae36dd0f66d521b.zip |
(empty_packages,main) log extra debugging messages if passing the 'debug_urpmi' option
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r-- | perl-install/install/pkgs.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 766edaebd..1b24f600a 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -305,6 +305,7 @@ sub empty_packages { #- add additional fields used by DrakX. @$packages{qw(count media)} = (0, []); + urpm::args::set_debug($packages) if $o->{debug_urpmi}; $packages->{log} = \&log::l; $packages->{info} = \&log::l; $packages->{error} = sub { $::o->ask_warn(undef, $_[0]) }; |