From eb18403f2ba3d24044508f3437a4dbb60e00d6ca Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 2 Sep 2002 13:39:43 +0000 Subject: make sure rpmdb is open before displaying packages tree. --- perl-install/install_steps_interactive.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 46f90cfd2..4608dd708 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -919,6 +919,7 @@ Do you want to install the updates ?"))) || return; }; if ($update_medium) { + $o->{packages}{rpmdb} ||= pkgs::rpmDbOpen($o->{prefix}); if ($o->choosePackagesTree($o->{packages}, $update_medium)) { $o->pkg_install; } else { -- cgit v1.2.1