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.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 422c3657a..7184dde74 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -126,7 +126,7 @@ sub beforeInstallPackages($) {
sub installPackages($$) {
my ($o, $packages) = @_;
- my $toInstall = [ grep { $_->{selected} } values %$packages ];
+ my $toInstall = [ grep { $_->{selected} && !$_->{installed} } values %$packages ];
pkgs::install($o->{prefix}, $toInstall, $o->{isUpgrade}, 0);
}