|
...
|
...
|
@@ -345,7 +345,8 @@ function make_root_CA {
|
|
345
|
345
|
function fix_system_ca_bundle_path {
|
|
346
|
346
|
if is_service_enabled tls-proxy; then
|
|
347
|
347
|
local capath
|
|
348
|
|
- capath=$(python -c $'try:\n from requests import certs\n print certs.where()\nexcept ImportError: pass')
|
|
|
348
|
+ local python_cmd=${1:-python}
|
|
|
349
|
+ capath=$($python_cmd -c $'try:\n from requests import certs\n print (certs.where())\nexcept ImportError: pass')
|
|
349
|
350
|
|
|
350
|
351
|
if [[ ! $capath == "" && ! $capath =~ ^/etc/.* && ! -L $capath ]]; then
|
|
351
|
352
|
if is_fedora; then
|