summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index ef8235c0b..14396d13d 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -591,12 +591,12 @@ sub installCrypto {
sub installUpates {
my ($o) = @_;
- my $u = $o->{updates} or return; $u->{updates} && $u->{packages} or return;
+ my $u = $o->{updates} or return; $u->{updates} or return;
upNetwork($o);
require crypto;
my @crypto_packages = crypto::getPackages($o->{prefix}, $o->{packages}, $u->{mirror});
- $o->pkg_install(@{$u->{packages}});
+ $o->pkg_install(@{$u->{packages} || []});
}
sub summary {