summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-07-16 10:02:43 +0000
committerFrancois Pons <fpons@mandriva.com>2002-07-16 10:02:43 +0000
commitaa16495b1050d80874f7764acc0ec9410df1be58 (patch)
tree5297949a4bd5257497a0831f8b997397ca450da2
parent823630ea9548f95b46e1478c07aa099af9b6dfb7 (diff)
downloaddrakx-aa16495b1050d80874f7764acc0ec9410df1be58.tar
drakx-aa16495b1050d80874f7764acc0ec9410df1be58.tar.gz
drakx-aa16495b1050d80874f7764acc0ec9410df1be58.tar.bz2
drakx-aa16495b1050d80874f7764acc0ec9410df1be58.tar.xz
drakx-aa16495b1050d80874f7764acc0ec9410df1be58.zip
fixed die when choosePackages step is redone.
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 165025f21..bc554e67f 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -302,7 +302,7 @@ sub setPackages {
my ($o, $rebuild_needed) = @_;
require pkgs;
- if (!$o->{packages} || is_empty_hash_ref($o->{packages}{depslist})) {
+ if (!$o->{packages} || is_empty_array_ref($o->{packages}{depslist})) {
$o->{packages} = pkgs::psUsingHdlists($o->{prefix}, $o->{method});
#- open rpm db according to right mode needed.