Differential D21395 Diff 62146 net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
--- collectors/python.d.plugin/python.d.plugin.in.orig 2019-05-27 21:36:18 UTC | --- collectors/python.d.plugin/python.d.plugin.in 2019-09-12 16:09:56.290235329 +0200 | ||||
+++ collectors/python.d.plugin/python.d.plugin.in | +++ collectors/python.d.plugin/python.d.plugin.in.new 2019-09-16 12:04:16.105217000 +0200 | ||||
@@ -3,7 +3,7 @@ | @@ -1,6 +1,6 @@ | ||||
if [[ "$OSTYPE" == "darwin"* ]]; then | #!/usr/bin/env bash | ||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES | '''':; | ||||
fi | |||||
-exec "$(command -v python || command -v python3 || command -v python2 || | -exec "$(command -v python || command -v python3 || command -v python2 || | ||||
+exec "$(command -v python || command -v python3.6 || command -v python2.7 || | +exec "$(command -v python || command -v python3.6 || command -v python2.7 || | ||||
echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # ''' | echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # ''' | ||||
# -*- coding: utf-8 -*- | # -*- coding: utf-8 -*- |