From b494812daced7acbb49aaf27671cde8a4f055b7e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 27 Oct 2008 11:38:11 +0000 Subject: simplify: instead of passing around {rpmdb}, set $urpm->{env_rpmdb} and use it --- urpm/install.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm/install.pm') 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; -- cgit v1.2.1