From 104b03aea1d146156bf617bfa90ae9296511c1cc Mon Sep 17 00:00:00 2001 From: Arnaud Patard Date: Mon, 30 Apr 2012 07:49:17 +0000 Subject: - Allow to set urpm curl options in order to be able to make curl quiet. Setting this option to '-s' is making text autoinstall a lot cleaner and avoids missing warnings when installing rpms. --- perl-install/install/pkgs.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/install/pkgs.pm') diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index dcdceb45c..9fd8b8f09 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -383,6 +383,7 @@ sub empty_packages { $packages->{options}{'priority-upgrade'} = undef; # log $trans->add() faillure; FIXME: should we override *urpm::msg::sys_log? $packages->{debug} = $packages->{debug_URPM} = \&log::l; + $packages->{options}{'curl-options'} = $::o->{curl_options} if $::o->{curl_options}; $packages; } -- cgit v1.2.1