summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-09 22:30:00 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-09 22:30:00 +0000
commita776d3e2f81b9d2ee3394956f5b726142b0fbf2c (patch)
tree61782dcddeebb9cbe8f7c9da6de7f22d909bf655 /urpm
parent7a62087448c9a58ec1b9afe15977a24b55646f77 (diff)
downloadurpmi-a776d3e2f81b9d2ee3394956f5b726142b0fbf2c.tar
urpmi-a776d3e2f81b9d2ee3394956f5b726142b0fbf2c.tar.gz
urpmi-a776d3e2f81b9d2ee3394956f5b726142b0fbf2c.tar.bz2
urpmi-a776d3e2f81b9d2ee3394956f5b726142b0fbf2c.tar.xz
urpmi-a776d3e2f81b9d2ee3394956f5b726142b0fbf2c.zip
(db_open_or_die__) ahem...
Diffstat (limited to 'urpm')
-rw-r--r--urpm/install.pm2
-rw-r--r--urpm/select.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 8266fec4..807bee57 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -44,7 +44,7 @@ sub build_transaction_set_ {
#- build simplest transaction (no split).
$urpm->build_transaction_set(undef, $state, split_length => 0);
} else {
- my $db = db_open_or_die__();
+ my $db = db_open_or_die__($urpm, $options{rpmdb});
my $sig_handler = sub { undef $db; exit 3 };
local $SIG{INT} = $sig_handler;
diff --git a/urpm/select.pm b/urpm/select.pm
index b5f79580..ad6adb53 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -248,7 +248,7 @@ sub resolve_dependencies {
require urpm::parallel; #- help perl_checker;
urpm::parallel::resolve_dependencies($urpm, $state, $requested, %options);
} else {
- my $db = db_open_or_die__();
+ my $db = db_open_or_die__($urpm, $options{rpmdb});
my $sig_handler = sub { undef $db; exit 3 };
local $SIG{INT} = $sig_handler;