summaryrefslogtreecommitdiff
path: root/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
diff options
context:
space:
mode:
authorMahdi Mokhtari <mmokhi@FreeBSD.org>2019-09-20 13:45:33 +0000
committerMahdi Mokhtari <mmokhi@FreeBSD.org>2019-09-20 13:45:33 +0000
commit8adbaabd56b43fb7ae5dbe0e01b5c7aeef59587c (patch)
tree59df51345dbfcf7360db9ee7c13e254484ccc2ad /net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
parentgames/rottdc: fix build on GCC architectures (diff)
net-mgmt/netdata: Update to the latest upstream release 1.17.1
Update the patches to latest upstream changes Add dbengine and json support options Add cpe awareness Reported by: Daniel Engberg <daniel.engberg.lists@pyret.net> Event: EuroBSDCon 2019 Hackathon Sponsored by: EuroBSDCon 2019 Differential Revision: https://reviews.freebsd.org/D21395
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.in8
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 -*-