summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-09-02 13:39:43 +0000
committerFrancois Pons <fpons@mandriva.com>2002-09-02 13:39:43 +0000
commiteb18403f2ba3d24044508f3437a4dbb60e00d6ca (patch)
tree7e3763ac738878393c429dcef42639104b1187ca /perl-install/install_steps_interactive.pm
parent8400ba52c3e7b1f7117204322c43bece444f8c80 (diff)
downloaddrakx-backup-do-not-use-eb18403f2ba3d24044508f3437a4dbb60e00d6ca.tar
drakx-backup-do-not-use-eb18403f2ba3d24044508f3437a4dbb60e00d6ca.tar.gz
drakx-backup-do-not-use-eb18403f2ba3d24044508f3437a4dbb60e00d6ca.tar.bz2
drakx-backup-do-not-use-eb18403f2ba3d24044508f3437a4dbb60e00d6ca.tar.xz
drakx-backup-do-not-use-eb18403f2ba3d24044508f3437a4dbb60e00d6ca.zip
make sure rpmdb is open before displaying packages tree.
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm1
1 files changed, 1 insertions, 0 deletions
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 {