aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/open_db.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-12-19 13:20:48 +0000
committerThierry Vignaud <tv@mandriva.org>2007-12-19 13:20:48 +0000
commite98f660c9c6c73fa7c37a9d71f1cf8080f3686f8 (patch)
treed99d12babb6cd9e598ef39b14428655e78a1131c /Rpmdrake/open_db.pm
parent28a2ed1371b08f6a5558a3b10db49589d5a18b73 (diff)
downloadrpmdrake-e98f660c9c6c73fa7c37a9d71f1cf8080f3686f8.tar
rpmdrake-e98f660c9c6c73fa7c37a9d71f1cf8080f3686f8.tar.gz
rpmdrake-e98f660c9c6c73fa7c37a9d71f1cf8080f3686f8.tar.bz2
rpmdrake-e98f660c9c6c73fa7c37a9d71f1cf8080f3686f8.tar.xz
rpmdrake-e98f660c9c6c73fa7c37a9d71f1cf8080f3686f8.zip
(fast_open_urpmi_db) fix reading urpmi options with new urpmi
Diffstat (limited to 'Rpmdrake/open_db.pm')
-rw-r--r--Rpmdrake/open_db.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm
index 4d756657..78ad25cd 100644
--- a/Rpmdrake/open_db.pm
+++ b/Rpmdrake/open_db.pm
@@ -59,6 +59,7 @@ sub open_rpm_db {
# do not pay the urpm::media::configure() heavy cost:
sub fast_open_urpmi_db() {
my $urpm = urpm->new;
+ $urpm->get_global_options;
my $error_happened;
$urpm->{options}{wait_lock} = $::rpmdrake_options{'wait-lock'};
$urpm->{options}{'verify-rpm'} = !$::rpmdrake_options{'no-verify-rpm'} if defined $::rpmdrake_options{'no-verify-rpm'};