aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-11 14:49:13 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-11 14:49:13 +0000
commit95dd67c5e963f009acdf0721ababe77adfa6d050 (patch)
treee5b1244f1bc6dd760f5146649c69d08770e9877f
parent233029d9e7142ff84f7548d7a7aa70fb0478b0c2 (diff)
downloadrpmdrake-95dd67c5e963f009acdf0721ababe77adfa6d050.tar
rpmdrake-95dd67c5e963f009acdf0721ababe77adfa6d050.tar.gz
rpmdrake-95dd67c5e963f009acdf0721ababe77adfa6d050.tar.bz2
rpmdrake-95dd67c5e963f009acdf0721ababe77adfa6d050.tar.xz
rpmdrake-95dd67c5e963f009acdf0721ababe77adfa6d050.zip
(open_rpm_db) obvioulsly wasn't been converted when renaming options
as rpmdrake_options on 2007-08-27
-rw-r--r--Rpmdrake/pkg.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 634802ff..a1627baf 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -138,14 +138,12 @@ sub extract_header {
}
}
-my %options;
-
# because rpm blocks some signals when rpm DB is opened, we don't keep open around:
sub open_rpm_db {
my ($o_force) = @_;
my $host;
log::explanations("opening the RPM database");
- if ($options{parallel} && ((undef, $host) = @{$options{parallel}})) {
+ if ($::rpmdrake_options{parallel} && ((undef, $host) = @{$::rpmdrake_options{parallel}})) {
my $done if 0;
my $dblocation = "/var/cache/urpmi/distantdb/$host";
if (!$done || $o_force) {