summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-01 12:12:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-01 12:12:09 +0000
commit146c51874702fa7383065e3656e74205f5537148 (patch)
treef4bb487453bf36141aa7b9791315d3e57142cbb6 /urpm/media.pm
parent232693530f1b74e83279e3318c1ed4f566a0e1d4 (diff)
downloadurpmi-146c51874702fa7383065e3656e74205f5537148.tar
urpmi-146c51874702fa7383065e3656e74205f5537148.tar.gz
urpmi-146c51874702fa7383065e3656e74205f5537148.tar.bz2
urpmi-146c51874702fa7383065e3656e74205f5537148.tar.xz
urpmi-146c51874702fa7383065e3656e74205f5537148.zip
use db_open_or_die_()
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 9b3f3bc6..943f528a 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1517,7 +1517,7 @@ sub _read_cachedir_pubkey {
$urpm->{log}(N("examining pubkey file of \"%s\"...", $medium->{name}));
my $_rpm_lock = urpm::lock::rpm_db($urpm, 'exclusive', wait => $b_wait_lock);
- my $db = urpm::db_open_or_die($urpm, $urpm->{root}, 'rw');
+ my $db = urpm::db_open_or_die_($urpm, 'rw');
my %key_ids;
URPM::import_needed_pubkeys_from_file($db,