Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked frompoise/python

Commitb85a8ba

Browse files
author
Joshua Timberman
committed
Merge pull requestpoise#43 from opscode-cookbooks/COOK-3077
Cook 3077
2 parentsef6a0e0 +d2f8b66 commitb85a8ba

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎recipes/pip.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@
1818
# limitations under the License.
1919
#
2020

21-
ifplatform_family?("rhel")andnode['python']['install_method'] =='package'
21+
# Where does pip get installed?
22+
# platform/method: path (proof)
23+
# redhat/package: /usr/bin/pip (sha a8a3a3)
24+
# omnibus/source: /opt/local/bin/pip (sha 29ce9874)
25+
26+
ifnode['python']['install_method'] =='source'
27+
pip_binary="#{node['python']['prefix_dir']}/bin/pip"
28+
elsifplatform_family?("rhel")
2229
pip_binary="/usr/bin/pip"
2330
elsifplatform_family?("smartos")
2431
pip_binary="/opt/local/bin/pip"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp