diff options
Diffstat (limited to 'net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in')
-rw-r--r-- | net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in b/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in index b1777cdac8a0..45164d19f085 100644 --- a/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in +++ b/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in @@ -1,11 +1,9 @@ --- collectors/python.d.plugin/python.d.plugin.in.orig 2019-05-27 21:36:18 UTC +++ collectors/python.d.plugin/python.d.plugin.in -@@ -3,7 +3,7 @@ - if [[ "$OSTYPE" == "darwin"* ]]; then - export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES - fi +@@ -1,5 +1,5 @@ + #!/usr/local/bin/bash + '''':; -exec "$(command -v python || command -v python3 || command -v python2 || +exec "$(command -v python || command -v python3.6 || command -v python2.7 || echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # ''' - # -*- coding: utf-8 -*- |