Skip to content
This repository was archived by the owner on Oct 2, 2018. It is now read-only.

[COOK-1866] /usr/bin/ is not pip_binary location when doing a source install on rhel. #23

Merged
merged 1 commit into from
Dec 10, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion recipes/pip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# limitations under the License.
#

if platform_family?("rhel")
if platform_family?("rhel") and node['python']['install_method'] == 'package'
pip_binary = "/usr/bin/pip"
else
pip_binary = "/usr/local/bin/pip"
Expand Down