summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-12-28 16:28:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-12-28 16:28:40 +0000
commitd531caa3bf97b4c5d14546392b2c3f634146f567 (patch)
tree582bf7024060844dfb5978f4d586d8c9dd8e25cf
parentRefreshing remove-infographic-for-privacy-breach-reasons.patch, removing remo... (diff)
downloadnetdata-d531caa3bf97b4c5d14546392b2c3f634146f567.tar.xz
netdata-d531caa3bf97b4c5d14546392b2c3f634146f567.zip
Refreshing Force-usage-of-python3.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/0006-Force-usage-of-python3.patch16
1 files changed, 5 insertions, 11 deletions
diff --git a/debian/patches/0006-Force-usage-of-python3.patch b/debian/patches/0006-Force-usage-of-python3.patch
index eed4e4c3..04222e79 100644
--- a/debian/patches/0006-Force-usage-of-python3.patch
+++ b/debian/patches/0006-Force-usage-of-python3.patch
@@ -1,18 +1,12 @@
-From: Sander Klein <debian-bugs@roedie.nl>
-Date: Wed, 14 Nov 2018 14:36:37 +0100
-Subject: Force usage of python3
-
+Author: Sander Klein <debian-bugs@roedie.nl>
+Description: Force usage of python3
Debian uses Python2 by default. The netdata package installs the
Python3 dependencies. So, in order to work correctly it must use
Python3.
----
- collectors/python.d.plugin/python.d.plugin | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-diff --git a/collectors/python.d.plugin/python.d.plugin b/collectors/python.d.plugin/python.d.plugin
-index 264c338..9437405 100644
---- a/collectors/python.d.plugin/python.d.plugin
-+++ b/collectors/python.d.plugin/python.d.plugin
+diff -Naurp netdata.orig/collectors/python.d.plugin/python.d.plugin netdata/collectors/python.d.plugin/python.d.plugin
+--- netdata.orig/collectors/python.d.plugin/python.d.plugin
++++ netdata/collectors/python.d.plugin/python.d.plugin
@@ -1,6 +1,4 @@
-#!/usr/bin/env bash
-'''':; exec "$(command -v python || command -v python3 || command -v python2 ||