Skip to content

Commit a7f72a3

Browse files
committed
Fixes #256
`/usr/bin/which pip` always return `false` because `$PATH` is not set. Instead, check for existance of `/usr/local/bin/pip`.
1 parent 09c3bf2 commit a7f72a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/install.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
# Install pip without pip, see https://pip.pypa.io/en/stable/installing/.
7272
exec { 'bootstrap pip':
7373
command => '/usr/bin/curl https://bootstrap.pypa.io/get-pip.py | python',
74-
unless => '/usr/bin/which pip',
74+
creates => '/usr/local/bin/pip',
7575
require => Package['python'],
7676
}
7777

0 commit comments

Comments
 (0)