diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-28 18:42:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-28 18:42:15 +0000 |
commit | 31d8bbdc3d44ec41a8ad359d62ebfb2d0f35662d (patch) | |
tree | 9fb1a0624c756cfcf54116bd8d909bc410f2dedd /Rpmdrake/open_db.pm | |
parent | 780dbbaddf2ce82291ef4b616d9fc8335860a88d (diff) | |
download | rpmdrake-31d8bbdc3d44ec41a8ad359d62ebfb2d0f35662d.tar rpmdrake-31d8bbdc3d44ec41a8ad359d62ebfb2d0f35662d.tar.gz rpmdrake-31d8bbdc3d44ec41a8ad359d62ebfb2d0f35662d.tar.bz2 rpmdrake-31d8bbdc3d44ec41a8ad359d62ebfb2d0f35662d.tar.xz rpmdrake-31d8bbdc3d44ec41a8ad359d62ebfb2d0f35662d.zip |
perl_checker cleanups
Diffstat (limited to 'Rpmdrake/open_db.pm')
-rw-r--r-- | Rpmdrake/open_db.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm index 86b95be1..ee75badd 100644 --- a/Rpmdrake/open_db.pm +++ b/Rpmdrake/open_db.pm @@ -81,7 +81,7 @@ sub fast_open_urpmi_db() { urpm::set_files($urpm, $::rpmdrake_options{'urpmi-root'}[0]) if $::rpmdrake_options{'urpmi-root'}[0]; $::rpmdrake_options{'rpm-root'}[0] ||= $::rpmdrake_options{'urpmi-root'}[0]; urpm::args::set_root($urpm, $::rpmdrake_options{'rpm-root'}[0]) if $::rpmdrake_options{'rpm-root'}[0]; - urpm::args::set_debug($urpm) if $::rpmdrake_options{'debug'}; + urpm::args::set_debug($urpm) if $::rpmdrake_options{debug}; $urpm->get_global_options; my $error_happened; $urpm->{options}{wait_lock} = $::rpmdrake_options{'wait-lock'}; @@ -103,7 +103,7 @@ sub fast_open_urpmi_db() { N("A fatal error occurred: %s.", $_[1])); }; - urpm::media::read_config($urpm); + urpm::media::read_config($urpm, 0); foreach (@{$urpm->{media}}) { next if $_->{ignore}; urpm::media::_tempignore($_, 1) if $ignore_debug_media->[0] && $_->{name} =~ /debug/i; @@ -116,7 +116,7 @@ sub fast_open_urpmi_db() { $urpm; } -sub is_it_a_devel_distro { +sub is_it_a_devel_distro() { state $res; return $res if defined $res; |