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