summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-02 09:58:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-02 09:58:18 +0000
commit7951c0e02df7a277bb5336df934c0349c74a7f41 (patch)
treef3caba07646292ea11815359cd471848f6018ebb /perl-install/install_steps.pm
parent39825fad12d081797d4b06ae27e59709cba61afd (diff)
downloaddrakx-7951c0e02df7a277bb5336df934c0349c74a7f41.tar
drakx-7951c0e02df7a277bb5336df934c0349c74a7f41.tar.gz
drakx-7951c0e02df7a277bb5336df934c0349c74a7f41.tar.bz2
drakx-7951c0e02df7a277bb5336df934c0349c74a7f41.tar.xz
drakx-7951c0e02df7a277bb5336df934c0349c74a7f41.zip
opening rpm db in selectPackage(), so remove some rpmDbOpen()
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index cbcb936cd..15ee7014a 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -417,7 +417,6 @@ sub pkg_install {
if ($::testing) {
log::l(qq(selecting package "$_")) foreach @l;
} else {
- $o->{packages}{rpmdb} ||= pkgs::rpmDbOpen();
pkgs::selectPackage($o->{packages}, pkgs::packageByName($o->{packages}, $_) || die "$_ rpm not found") foreach @l;
}
my @toInstall = pkgs::packagesToInstall($o->{packages});