aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-28 18:42:15 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-28 18:42:15 +0000
commit31d8bbdc3d44ec41a8ad359d62ebfb2d0f35662d (patch)
tree9fb1a0624c756cfcf54116bd8d909bc410f2dedd /rpmdrake.pm
parent780dbbaddf2ce82291ef4b616d9fc8335860a88d (diff)
downloadrpmdrake-31d8bbdc3d44ec41a8ad359d62ebfb2d0f35662d.tar
rpmdrake-31d8bbdc3d44ec41a8ad359d62ebfb2d0f35662d.tar.gz
rpmdrake-31d8bbdc3d44ec41a8ad359d62ebfb2d0f35662d.tar.bz2
rpmdrake-31d8bbdc3d44ec41a8ad359d62ebfb2d0f35662d.tar.xz
rpmdrake-31d8bbdc3d44ec41a8ad359d62ebfb2d0f35662d.zip
perl_checker cleanups
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index a6180a39..837e4c8f 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -224,7 +224,7 @@ sub writeconf() {
# special case:
$no_confirmation->[0] = $::rpmdrake_options{'no-confirmation'};
- output $configfile, map { "$_ " . (ref ${$config{$_}{var}} ? join(' ', @${$config{$_}{var}}) : ()) . "\n" } keys %config;
+ output($configfile, map { "$_ " . (ref ${$config{$_}{var}} ? join(' ', @${$config{$_}{var}}) : undef) . "\n" } keys %config);
}
sub getbanner() {
@@ -914,7 +914,7 @@ sub add_medium_and_check {
urpm::media::write_config($urpm);
$options->{proxy} and urpm::download::dump_proxy_config();
} else {
- urpm::media::read_config($urpm);
+ urpm::media::read_config($urpm, 0);
return 0;
}