Skip to content

Commit 151909d

Browse files
Avoid Python re-installation
Signed-off-by: Hanwen <[email protected]>
1 parent 433b130 commit 151909d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cookbooks/aws-parallelcluster-shared/resources/install_pyenv.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,6 @@
5353
make
5454
make install
5555
VENV
56+
not_if { ::File.exist?("#{prefix}/versions/#{python_version}/bin/python") }
5657
end
5758
end

0 commit comments

Comments
 (0)