Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e7e599

Browse files
Testing fixes
1 parent 74f742d commit 2e7e599

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

recipes/python.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
# components ['trusty main']
44
# end
55

6-
script 'install python3.6 from source' do
7-
interpreter "bash"
6+
bash 'install python3.6 from source' do
87
code <<-EOH
98
cd /tmp && wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz && tar -xvf Python-3.6.3.tgz && cd Python-3.6.3 && sudo ./configure --enable-optimizations && make && sudo make install;
109
EOH
11-
end
10+
flags "-x"
11+
end
1212

1313
# execute "update" do
1414
# command 'sudo apt-get update'
@@ -26,7 +26,7 @@
2626

2727
alternatives 'python-set-version-3' do
2828
link_name 'python3'
29-
path '/usr/bin/python3.6'
29+
path '/opt/python/3.6/bin/python3.6'
3030
priority 100
3131
action :install
3232
end

0 commit comments

Comments
 (0)