diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-12-19 13:20:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-12-19 13:20:48 +0000 |
commit | e98f660c9c6c73fa7c37a9d71f1cf8080f3686f8 (patch) | |
tree | d99d12babb6cd9e598ef39b14428655e78a1131c | |
parent | 28a2ed1371b08f6a5558a3b10db49589d5a18b73 (diff) | |
download | rpmdrake-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
-rw-r--r-- | Rpmdrake/open_db.pm | 1 |
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'}; |