summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-09 18:09:20 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-09 18:09:20 +0000
commit4030852f631f465fb88eb52d0493fcdf37d45101 (patch)
tree7dfe2859ceb8a9b7029a629c6a43d2444402019b /perl-install/install
parent08837240e8063a5cee53867f165a479423b3b732 (diff)
downloaddrakx-4030852f631f465fb88eb52d0493fcdf37d45101.tar
drakx-4030852f631f465fb88eb52d0493fcdf37d45101.tar.gz
drakx-4030852f631f465fb88eb52d0493fcdf37d45101.tar.bz2
drakx-4030852f631f465fb88eb52d0493fcdf37d45101.tar.xz
drakx-4030852f631f465fb88eb52d0493fcdf37d45101.zip
(_install_raw) stop opening rpm db, now useless (only
urpmi::main_loop::run() and urpmi::install::install() open it)
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/pkgs.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index f85a5f571..3a6a05b26 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -719,8 +719,6 @@ sub _unselect_package {
sub _install_raw {
my ($packages, $isUpgrade, $callback, $LOG, $noscripts) = @_;
- my $db = open_rpm_db_rw() or die "error opening RPM database: ", URPM::rpmErrorString();
-
# let's be urpmi's compatible:
local $packages->{options}{noscripts} = $noscripts;
# leaks a fd per transaction: