summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-27 11:38:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-27 11:38:11 +0000
commitb494812daced7acbb49aaf27671cde8a4f055b7e (patch)
treec8be06534263a1f3d99723ba7a2dd836caa3d173 /urpm/install.pm
parent58ee3cbcf2b07a7538b3265605d1effa6823d9da (diff)
downloadurpmi-b494812daced7acbb49aaf27671cde8a4f055b7e.tar
urpmi-b494812daced7acbb49aaf27671cde8a4f055b7e.tar.gz
urpmi-b494812daced7acbb49aaf27671cde8a4f055b7e.tar.bz2
urpmi-b494812daced7acbb49aaf27671cde8a4f055b7e.tar.xz
urpmi-b494812daced7acbb49aaf27671cde8a4f055b7e.zip
simplify: instead of passing around {rpmdb}, set $urpm->{env_rpmdb} and use it
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 4ed0000e..01410a6e 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 = urpm::db_open_or_die__($urpm, $options{rpmdb});
+ my $db = urpm::db_open_or_die_($urpm);
my $sig_handler = sub { undef $db; exit 3 };
local $SIG{INT} = $sig_handler;