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

Skip to content

Commit e26ac41

Browse files
author
Joshua Timberman
committed
Merge pull request poise#23 from tdcarrol/master
[COOK-1866] /usr/bin/ is not pip_binary location when doing a source install on rhel.
2 parents 33bc6e2 + a8a3a36 commit e26ac41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/pip.rb

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

21-
if platform_family?("rhel")
21+
if platform_family?("rhel") and node['python']['install_method'] == 'package'
2222
pip_binary = "/usr/bin/pip"
2323
elsif platform_family?("smartos")
2424
pip_binary = "/opt/local/bin/pip"

0 commit comments

Comments
 (0)