mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-04-18 11:49:50 +08:00
Do not try to reinstall modules that were installed manually
This commit is contained in:
parent
b1a5500f42
commit
026c1380e0
4
Build.PL
4
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user