summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index ac7f33e98..ef8235c0b 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -589,6 +589,16 @@ sub installCrypto {
$o->pkg_install(@{$u->{packages}});
}
+sub installUpates {
+ my ($o) = @_;
+ my $u = $o->{updates} or return; $u->{updates} && $u->{packages} or return;
+
+ upNetwork($o);
+ require crypto;
+ my @crypto_packages = crypto::getPackages($o->{prefix}, $o->{packages}, $u->{mirror});
+ $o->pkg_install(@{$u->{packages}});
+}
+
sub summary {
my ($o) = @_;
configureTimezone($o);