summaryrefslogtreecommitdiffstats
path: root/perl-install/install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/pkgs.pm')
-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: