diff options
-rw-r--r-- | Rpmdrake/open_db.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm index 449ce97b..3ec09dc6 100644 --- a/Rpmdrake/open_db.pm +++ b/Rpmdrake/open_db.pm @@ -68,6 +68,7 @@ sub open_rpm_db { # do not pay the urpm::media::configure() heavy cost: sub fast_open_urpmi_db() { my $urpm = urpm->new; + urpm::set_files($urpm, $::rpmdrake_options{'urpmi-root'}[0]) if $::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->get_global_options; @@ -75,7 +76,6 @@ sub fast_open_urpmi_db() { $urpm->{options}{wait_lock} = $::rpmdrake_options{'wait-lock'}; $urpm->{options}{'verify-rpm'} = !$::rpmdrake_options{'no-verify-rpm'} if defined $::rpmdrake_options{'no-verify-rpm'}; $urpm->{options}{auto} = $::rpmdrake_options{auto} if defined $::rpmdrake_options{auto}; - urpm::set_files($urpm, $::rpmdrake_options{'urpmi-root'}[0]) if $::rpmdrake_options{'urpmi-root'}[0]; urpm::args::set_verbosity(); if ($::rpmdrake_options{env} && $::rpmdrake_options{env}[0]) { $::env = $::rpmdrake_options{env}[0]; |