Do not try to reinstall modules that were installed manually

This commit is contained in:
Alessandro Ranellucci 2022-10-28 16:18:24 +02:00
parent b1a5500f42
commit 026c1380e0

View File

@ -131,6 +131,10 @@ EOF
push @cmd, '--notest'
if $module =~ /^(?:OpenGL|Math::PlanePath|Test::Harness|IO::Scalar)$/;
# do not try to reinstall modules that were already
# installed manually
push @cmd, '--skip-satisfied';
push @cmd, "$module~$version";
my $res = system @cmd;
if ($res != 0) {