summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-09-13 05:10:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-09-13 05:43:32 +0000
commitd01bd242ba120597224c445b25b13c84993b7ee8 (patch)
tree8d95421bb8c3b60b9d660dcebf443030b6201515
parentMerging upstream version 1.17.1. (diff)
downloadnetdata-d01bd242ba120597224c445b25b13c84993b7ee8.tar.xz
netdata-d01bd242ba120597224c445b25b13c84993b7ee8.zip
Refreshing use-python3.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/debian/0003-use-python3.patch5
1 files changed, 1 insertions, 4 deletions
diff --git a/debian/patches/debian/0003-use-python3.patch b/debian/patches/debian/0003-use-python3.patch
index db1592eb..e00391af 100644
--- a/debian/patches/debian/0003-use-python3.patch
+++ b/debian/patches/debian/0003-use-python3.patch
@@ -4,12 +4,9 @@ Description: Debian uses by default python 2 instead of python3.
diff -Naurp netdata.orig/collectors/python.d.plugin/python.d.plugin.in netdata/collectors/python.d.plugin/python.d.plugin.in
--- netdata.orig/collectors/python.d.plugin/python.d.plugin.in
+++ netdata/collectors/python.d.plugin/python.d.plugin.in
-@@ -1,10 +1,4 @@
+@@ -1,7 +1,4 @@
-#!/usr/bin/env bash
-'''':;
--if [[ "$OSTYPE" == "darwin"* ]]; then
-- export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
--fi
-exec "$(command -v python || command -v python3 || command -v python2 ||
-echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # '''
+#!/usr/bin/python3