From 026c1380e0ad12176dd2fc8cdf8f6f181deeb071 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Fri, 28 Oct 2022 16:18:24 +0200 Subject: [PATCH] Do not try to reinstall modules that were installed manually --- Build.PL | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Build.PL b/Build.PL index 2dd18435a..f92891590 100755 --- a/Build.PL +++ b/Build.PL @@ -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) {